01.06.2013, 08:02
Quick Question how do I only show health and armour as 64 or 100 and not 64.00000
Do I need to change the %f to %d or will it bug since health is a float?
pawn Code:
new Float: SH, Float: SA;
GetPlayerHealth(id, SH);
GetPlayerArmour(id, SA);
format(string, sizeof(string), "Name: %s, ID: %d, Health: %f, Armour: %f, Money: %d", RPName(id), id, SH, SA, GetPlayerMoney(id));