16.09.2011, 14:29
Hi
new str[32], Float:example = 50.0;
format(str, 32, "Result: %1.f", example)
SendClientMessage(playerid, COLOR_WHITE, str);
Its print: "Result: 50.0000000"
Thank you for read.
new str[32], Float:example = 50.0;
format(str, 32, "Result: %1.f", example)
SendClientMessage(playerid, COLOR_WHITE, str);
Its print: "Result: 50.0000000"
Thank you for read.