03.12.2010, 21:06
pawn Код:
public OnPlayerUpdate(playerid)
{
new Float:health,hstring[30];
GetPlayerHealth(playerid,health);
format(hstring,sizeof(hstring),"Health Level: %.0f%%",health);
TextDrawSetString(hp, hstring);
TextDrawShowForPlayer(playerid, hp);
return 1;
}