25.02.2015, 02:55
I used this to stop a similar cheat on my server, maybe it will help you too:
You may have false positives sometimes with paused players or players jumping out of cars/motorcycles but there's no kicking or baning involved so it's harmless.
pawn Код:
public OnUnoccupiedVehicleUpdate(vehicleid, playerid, passenger_seat, Float:new_x, Float:new_y, Float:new_z, Float:vel_x, Float:vel_y, Float:vel_z)
{
new Float:dist = GetVehicleDistanceFromPoint(vehicleid, new_x, new_y, new_z);
if(dist > 15)
{
return 0;
}
return 1;
}