03.06.2011, 16:49
Hi, if possible, I wish someone would create a function to do so:
Where the value would be a number. This function Comma(value) return the string value with the commas.
For example:
The result would be:
You have 1,500
I appreciate the help.
pawn Код:
Comma(value);
For example:
pawn Код:
new money, str[110];
money = 1500;
format(str, sizeof(str), "You have %s", Comma(money));
SendClientMessage(playerid, cor, str);
You have 1,500
I appreciate the help.