16.06.2009, 19:40
pawn Код:
if(strcmp(cmdtext, "/heal", true) == 0)
{
new Float:health;
GetPlayerHealth(playerid, health);
if(health > 99)
{
SendClientMessage(playerid, color, "Your health is already full!");
}
else
{ SetPlayerHealth(playerid, 100); }
}