12.08.2011, 00:49
pawn Код:
COMMAND:chh(playerid, params[])
{
new targetid = strval(params);
if(isnull(params)) return SendClientMessage(playerid, 0xFF0000AA, "Usage: /chh [ID]");
else if(!IsPlayerConnected(targetid)) return SendClientMessage(playerid, 0xFF0000AA, "Player not found!");
{
new Float:Health;
GetPlayerHealth(targetid, Health);
if(Health > 100.0)
{
BanEx(strval(params), "Health Hacks");
}
}
return 1;
}