Unverified Commit 77e114fa authored by Lorenc Pekaj's avatar Lorenc Pekaj Committed by GitHub

call CHEAT_TYPE_CARWARP instead of RAPID_FIRE

parent 7212ccda
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment