diff --git a/gamemodes/irresistible/sampac.pwn b/gamemodes/irresistible/sampac.pwn index 0c9ee44..ceaf87e 100644 --- a/gamemodes/irresistible/sampac.pwn +++ b/gamemodes/irresistible/sampac.pwn @@ -1,8 +1,8 @@ /* * Irresistible Gaming (c) 2018 * Developed by Lorenc Pekaj - * Module: - * Purpose: + * Module: sampac.inc + * Purpose: 3rd party anticheat implementation (sampcac.xyz) */ /* ** Includes ** */ @@ -41,6 +41,10 @@ function OnPlayerCheat( player_id, cheat_id ) GetPlayerName( player_id, playerName, sizeof( playerName ) ); } + if ( strmatch( g_szCheatNames[ cheat_id ], "Aimbot (6)" ) ) { + return 1; // ignore aimbot (6) + } + // AdvancedBan( player_id, "Server", g_szCheatNames[ cheat_id ], ReturnPlayerIP( player_id ) ); format( szNormalString, sizeof( szNormalString ), "[ANTI-CHEAT]{FFFFFF} %s(%d) has been detected using %s.", playerName, player_id, g_szCheatNames[ cheat_id ] ); SendClientMessageToAdmins( COLOR_PINK, szNormalString );