02.07.2015, 09:54
I use this script for anti air breaking:
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 Banned By The Anti-Cheat (AC) | Reason: Airbreak Hacks.", hackerr, playerid);
SendClientMessageToAll(0x00FFFFFF, antimsg);
SendClientMessage(playerid, 0xFF0000AA, "You Have Been Banned By The Anti-Cheat (AC) | Reason: Airbreak Hacks.");
Info[playerid][Banned] = 1;
SendClientMessage(playerid, 0xFFC400AA, "If You Feel That You Are Wrongly Banned Feel Free To Post An Appeal In Our Forums: Yourforumhere");
BanEx(playerid, "Airbreak Hacks");
}
}