Anticheat for airbreak and speedhack - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Anticheat for airbreak and speedhack (
/showthread.php?tid=437145)
Anticheat for airbreak and speedhack -
MrTinder - 14.05.2013
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.
AW: Anticheat for airbreak and speedhack -
HurtLocker - 14.05.2013
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.
Re: Anticheat for airbreak and speedhack -
rebelgaming - 14.05.2013
Here this is more of a guideline on how to make an anticheat for it. Its a filterscript but you will get an idea of how to make it.
http://forum.sa-mp.com/showthread.ph...ght=Anti+Cheat
Re: Anticheat for airbreak and speedhack -
MrTinder - 14.05.2013
I need script for anti airbreak and anti speedhack.I'll embed them into my mode...
Re: Anticheat for airbreak and speedhack -
Richie© - 14.05.2013
Here is airbreak include, should be easy to embed it into your mode..
https://sampforum.blast.hk/showthread.php?tid=387925
Re: Anticheat for airbreak and speedhack -
MrTinder - 14.05.2013
Tnx for airbreak..Now i need anti speedhack
Re: Anticheat for airbreak and speedhack -
Richie© - 14.05.2013
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