From 77e114fa393d819635b596d42aebbb5b463b6228 Mon Sep 17 00:00:00 2001 From: Lorenc Pekaj Date: Fri, 19 Apr 2019 18:10:27 +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; }