28.03.2011, 20:33
pawn Код:
public OnPlayerUpdate(playerid)
{
new Float:player_Health;
GetPlayerHealth(playerid, player_Health);
if(player_Health <= 20)
{
ApplyAnimation(// You're going to need to place the animation here.
GameTextForPlayer(playerid, "Say /acceptdeath if you want to die. Do /service ems if you want the EMS", 2500, 3);
TogglePlayerControllable(playerid, 0);
}
return 1;
}