call CHEAT_TYPE_CARWARP instead of RAPID_FIRE
This commit is contained in:
parent
8c59a62a9f
commit
635e77c341
@ -26,7 +26,7 @@ hook OnPlayerStateChange( playerid, newstate, oldstate )
|
|||||||
|
|
||||||
if ( p_ac_CarWarpTime[ playerid ] > server_time )
|
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;
|
return Y_HOOKS_BREAK_RETURN_1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user