Posts: 148
Threads: 29
Joined: Sep 2012
Reputation:
0
Does one exist any more? I know junkbuster used to but
A) It conflicts with my server
B) It not longer exists.
Any help appreciated.
Posts: 568
Threads: 28
Joined: Dec 2012
Reputation:
0
For the antispeed use a repeating timer, defined under ongamemodeinit, which with loop detects each player's speed every 1 second. I don't know the reasonable max speed but you can easily test and find it.
Posts: 148
Threads: 29
Joined: Sep 2012
Reputation:
0
I need script for anti airbreak and anti speedhack.I'll embed them into my mode...
Posts: 368
Threads: 24
Joined: Feb 2012
Here is airbreak include, should be easy to embed it into your mode..
https://sampforum.blast.hk/showthread.php?tid=387925
Posts: 368
Threads: 24
Joined: Feb 2012
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