04.10.2013, 02:05
Oh, maybe this will work as it directly updates the HP+Armour, without checking for anything.
pawn Код:
public OnPlayerUpdate(playerid)
{
new
string[64],
Float:health,
Float:armor;
GetPlayerHealth(playerid, health);
GetPlayerArmour(playerid, armor);
format(string, sizeof(string), "{FFFF00}Armor:{FFFFFF} %.1f\n{FF0000}Health:{FFFFFF} %.1f", armor, health);
Update3DTextLabelText(gHealthArmor[playerid], -1, string);
return 1;
}

