AIRBREAK ANTI-CHEAT
#6

Quote:
Originally Posted by sscarface
Посмотреть сообщение
Well, It doesn't kick me when im airbreaking. Anyways, I fixed mine. I have to decreased MAX_FOOT_SPEED.
But I want to know how does this work ^^ you have posted?
Firstly, it checks if the player's animation is parachute animation, because most air breaks hacks uses parachute animation, secondly, I check if the player doesn't have a parachute, if so, then the player is air breaking:

I changed it so it makes the player being kicked not banned:

pawn Код:
if(GetPlayerAnimationIndex(playerid) == 958 || GetPlayerAnimationIndex(playerid) == 959)
    {
    if(GetPlayerWeapon(playerid) != 46)
    {
    new antimsg[128], hackerr[MAX_PLAYER_NAME];
    GetPlayerName(playerid, hackerr, MAX_PLAYER_NAME);
    format(antimsg, sizeof(antimsg), "%s (%d) Has Been Kicked By The Anti-Cheat (AC) | Reason: Airbreak Hacks.", hackerr, playerid);
    SendClientMessageToAll(0x00FFFFFF, antimsg);
    SendClientMessage(playerid, 0xFF0000AA, "You Have Been Kicked By The Anti-Cheat (AC) | Reason: Airbreak Hacks.");
    Info[playerid][Banned] = 1; // NOTE: Delete this and put your own variable here
    Kick(playerid);
    }
    }
Reply


Messages In This Thread
AIRBREAK ANTI-CHEAT - by sscarface - 02.07.2015, 09:44
Re: AIRBREAK ANTI-CHEAT - by Youssef221 - 02.07.2015, 09:54
Re: AIRBREAK ANTI-CHEAT - by Tamer - 02.07.2015, 09:57
Re: AIRBREAK ANTI-CHEAT - by sscarface - 02.07.2015, 10:03
Re: AIRBREAK ANTI-CHEAT - by sscarface - 02.07.2015, 10:08
Re: AIRBREAK ANTI-CHEAT - by Youssef221 - 02.07.2015, 10:14
Re: AIRBREAK ANTI-CHEAT - by sscarface - 02.07.2015, 10:40

Forum Jump:


Users browsing this thread: 2 Guest(s)