23.07.2013, 17:56
Simple Anti Armour Hack
Hello guys today i will tell you how to make anti armour hack on your server.
For make anti armour hack you need to fin in your GM SetPlayerArmour(playerid, 100); and replace with SetPlayerArmour(playerid, 99);
pawn Code:
#include <a_samp>
public OnPlayerUpdate(playerid)
{
new Float:armour;
GetPlayerArmour(playerid, armour);
if(armour == 100)
{
new string[64], pName[MAX_PLAYER_NAME];
GetPlayerName(playerid,pName,MAX_PLAYER_NAME);
format(string,sizeof string,"* %s was banned by System(Armour Hack)",pName);
SendClientMessageToAll(0xFF0000FF,string);
BanEx(playerid, "Armour Hack");
}
return 1;
}