Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

Anti Speed

$
0
0
does anyone know, people keep jumping off from Chiliad and anti speed detects them .. and if I jump with car from chiliad I get about 352km/h .. and with nrg 252km..


PHP Code:

stock GetVehicleSpeed(vehicleid)
                    {
                        new 
Float:V[3];
                        
GetVehicleVelocity(vehicleidV[0], V[1], V[2]);
                        return 
floatround(floatsqroot(V[0] * V[0] + V[1] * V[1] + V[2] * V[2]) * 180.00);
                    } 

PHP Code:

for(new playerid 0playerid MAX_PLAYERSplayerid++)
                            {
                                new 
veh GetPlayerVehicleID(playerid);
                                if(
GetVehicleSpeed(veh) >= 350 && (GetPlayerState(playerid)== PLAYER_STATE_DRIVER))
                                {
                                    
format(stringsizeof(string), "%s got kicked for Speed Hack",sendername);
                                    
SendClientMessageToAll(COLOR_REDstring);
                                    
Kick(playerid); 
                                }
                            } 


Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>