05.02.2012, 23:33
(
Последний раз редактировалось Mercurio; 06.02.2012 в 00:14.
)
Resolvido --
new Float:Health;
GetPlayerHealth(playerid,Health);
if(Health > 100)
{
//mensagem + kick
}
public OnPlayerUpdate(playerid)
{
new msg[128];
new Float:Sangue;
new pName[MAX_PLAYER_NAME];
GetPlayerName(playerid, pName, sizeof(pName));
GetPlayerHealth(playerid, Sangue);
if(Sangue > 100)
{
format(msg, sizeof(msg), "* %s foi kickado por estб com Life acima de 100.", pName);
SendClientMessage(playerid, -1, msg);
Kick(playerid);
}
return 1;
}