Anticheat for airbreak and speedhack
#7

Here is simple a simple one im using inside a timer that runs every second.
The speed is 450kmph coz i found out players with high ping could trigger it easy if it were lower.
pawn Код:
if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
    new Float:x,Float:y,Float:z,vehicleid = GetPlayerVehicleID(playerid);
    GetVehicleVelocity(vehicleid,x,y,z);
    if(floatround(floatsqroot(((x*x)+(y*y))+(z*z))*250.666667) > 450) //detects if speed is more then 450kmh
    { // do your own thing here, warnings or something
Reply


Messages In This Thread
Anticheat for airbreak and speedhack - by MrTinder - 14.05.2013, 12:43
AW: Anticheat for airbreak and speedhack - by HurtLocker - 14.05.2013, 12:47
Re: Anticheat for airbreak and speedhack - by rebelgaming - 14.05.2013, 12:50
Re: Anticheat for airbreak and speedhack - by MrTinder - 14.05.2013, 12:56
Re: Anticheat for airbreak and speedhack - by Richie© - 14.05.2013, 13:50
Re: Anticheat for airbreak and speedhack - by MrTinder - 14.05.2013, 13:59
Re: Anticheat for airbreak and speedhack - by Richie© - 14.05.2013, 14:09

Forum Jump:


Users browsing this thread: 1 Guest(s)