Raised This Month: $ Target: $400
 0% 

[ANY] Little Anti-Cheat


Post New Thread Reply   
 
Thread Tools Display Modes
Author
whiteskypony
Member
Join Date: Jun 2015
Location: vsh_crevice_b5
Plugin ID:
6943
Plugin Version:
1.7.1
Plugin Category:
Server Management
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    A simplistic Anti-Cheat for source games
    Old 08-04-2020 , 09:48   Re: [ANY] Little Anti-Cheat
    Reply With Quote #1

    Quote:
    You can make your own plugins with this code or add this directly to Lilac, tho the former is cleaner.
    It was as you say early, when i typed sv_cheats it was to "1" on my end, im not sure what plugin does this.

    Anyways the code seems to work perfect THANKS alot, i include it in lilac main plugin:
    Code:
    public Action lilac_allow_cheat_detection(int client, int cheat)
    {
    	if (cheat == CHEAT_CONVAR) {
    
    		if (CheckCommandAccess(client, "CVAR_ENABLE", ADMFLAG_CHEATS)) {
    			return Plugin_Handled;
    		}
    	}
    	return Plugin_Continue;
    }
    __________________
    Steam | Vidya Servers | Discord: Maximo#5396 / kitsumy.



    Last edited by whiteskypony; 08-04-2020 at 09:49.
    whiteskypony is offline
    Reply



    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 21:20.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode