From 635e77c3413fd9961ba30a9c0dc85c64d8c27630 Mon Sep 17 00:00:00 2001 From: Lorenc Pekaj Date: Fri, 19 Apr 2019 18:18:09 +1000 Subject: [PATCH] call CHEAT_TYPE_CARWARP instead of RAPID_FIRE --- gamemodes/irresistible/anticheat/carwarp.pwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gamemodes/irresistible/anticheat/carwarp.pwn b/gamemodes/irresistible/anticheat/carwarp.pwn index 62263a0..e8a9b29 100644 --- a/gamemodes/irresistible/anticheat/carwarp.pwn +++ b/gamemodes/irresistible/anticheat/carwarp.pwn @@ -26,7 +26,7 @@ hook OnPlayerStateChange( playerid, newstate, oldstate ) if ( p_ac_CarWarpTime[ playerid ] > server_time ) { - CallLocalFunction( "OnPlayerCheatDetected", "ddd", playerid, CHEAT_TYPE_RAPIDFIRE, 0 ); + CallLocalFunction( "OnPlayerCheatDetected", "ddd", playerid, CHEAT_TYPE_CARWARP, 0 ); return Y_HOOKS_BREAK_RETURN_1; }