22.10.2013, 18:24
pawn Код:
public OnPlayerUpdate(playerid)
{
new Float:pHealth;
GetPlayerHealth(playerid, pHealth);
if(pHealth >= 101)
{
SendClientMessage(playerid, -1, "{FF0000}**You got banned for health hacks, therefore you can say good bye to the server.");
Ban(playerid);
}
new Float:pArmour;
GetPlayerArmour(playerid, pArmour);
if(pArmour >= 101)
{
SendClientMessage(playerid, -1, "{FF0000}**You got banned for armour hacks, therefore you can say good bye to the server");
Ban(playerid);
}
return 1;
}