30.03.2013, 19:42
pawn Code:
public OnPlayerUpdate(playerid)
{
new Float:hp;
hp = GetPlayerHealth(playerid, hp);
if(hp > 150 )
{
new string[128];
format(string,sizeof(string), "[Urban Gaming] %s has been kicked for the following Hack. (Healh Hacks)");
SendClientMessageToAll(COLOR_BRIGHTRED, string);
Kick(playerid);
}
new Float:arm;
arm = GetPlayerArmour(playerid, arm);
if(arm > 150 )
{
new string[128];
format(string,sizeof(string), "[Urban Gaming] %s has been kicked for the following Hack. (Armour Hacks)");
SendClientMessageToAll(COLOR_BRIGHTRED, string);
Kick(playerid);
}
return 1;
}