20.12.2009, 11:00
Try this:
I had a similar problem before, but this fixed it.
pawn Код:
public OnPlayerUpdate(playerid)
{
new Float:hp;
new string[255];
GetPlayerHealth(playerid, hp);
format(string,255,"%.0f hp",hp);
TextDrawHideForPlayer(playerid, hpbar[playerid]);
TextDrawSetString(hpbar[playerid],string);
TextDrawShowForPlayer(playerid, hpbar[playerid]);
return 1;
}