From bef383afd94bf57dc4f7ccfaf05c3ed4f4925d7f Mon Sep 17 00:00:00 2001 From: Lorenc Pekaj Date: Thu, 20 Sep 2018 19:31:42 +1000 Subject: [PATCH] disable aimbot (6) detection --- gamemodes/irresistible/sampac.pwn | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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 );