call CHEAT_TYPE_CARWARP instead of RAPID_FIRE
This commit is contained in:
parent
7212ccdac6
commit
77e114fa39
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user