Anticheat for airbreak and speedhack
#1

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.
Reply
#2

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.
Reply
#3

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
Reply
#4

I need script for anti airbreak and anti speedhack.I'll embed them into my mode...
Reply
#5

Here is airbreak include, should be easy to embed it into your mode..
https://sampforum.blast.hk/showthread.php?tid=387925
Reply
#6

Tnx for airbreak..Now i need anti speedhack
Reply
#7

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)