23.07.2015, 04:23
I've been playing around with the code a bit and haven't been able to find a good way to remove the extra decimals. I was wondering if there was a way you could do it so it could only show two decimals. For example, "Health: 49.00" instead of "Health: 49.000000"


Код HTML:
format(string, sizeof(string), "Health: %f, Armour: %f", PlayerInfo[playerid][pHealth], PlayerInfo[playerid][pArmour]); SendClientMessage(playerid, COLOR_WHITE, string);

