Speed hack detector?
#1

If player is speed hacking like if their MPH/KMPH is reach to .. Speed Hack limit (lol) something like that

an message will send to admin..

ADMNCMD: Warning! PLAYERNAME(ID) maybe Speed Hacking. Spectate it now! ((/spec))
ADMNCMD: Warning! PLAYERNAME(ID) maybe Speed Hacking. Spectate it now! ((/spec))
ADMNCMD: Warning! PLAYERNAME(ID) maybe Speed Hacking. Spectate it now! ((/spec))

and it will spam like 5 or 6 times on admins. like Anti Cheat
Reply
#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
#3

If a player got rammed by another player in high speed, won't it think it's a speed hacker then (If it goes very fast).
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)