Speed hack detector?
#2

this is for stock
PHP Code:
stock GetSpeed(playeridmode 1)
{
    new 
Float:Velocidade [3];
    
GetVehicleVelocity(GetPlayerVehicleID(playerid),Velocidade[0],Velocidade[1],Velocidade [2]);
    return 
IsPlayerInAnyVehicle(playerid)?floatround(((floatsqroot(((Velocidade[0]*Velocidade[0])+(Velocidade[1]*Velocidade[1])+(Velocidade[2]*Velocidade[2])))*(!mode?105.0:170.0)))*1):0;

then in a timer :
PHP Code:
if(GetSpeed(playerid) > 100// in here 100 means the max speed
{
   
Blah Blah Blah

Reply


Messages In This Thread
Speed hack detector? - by ChristianIvann09 - 09.03.2014, 15:59
Re: Speed hack detector? - by amirab - 09.03.2014, 16:14
Re: Speed hack detector? - by davve95 - 09.03.2014, 22:19

Forum Jump:


Users browsing this thread: 1 Guest(s)