Vice City Multiplayer
VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: sseebbyy on August 14, 2012, 11:09:54 am
-
I have the Property System from Shadow because the Bass Property System was removed. (Thank you Shadow !)
The problem now: I want to make the price to be shown with commas .
For example (with normal Property System):
PropID: 1 PropName: Malibu Club
Price: 3846377
But I want to see something like this (with modified Property System):
PropID: 1 PropName: Malibu Club
Price: 3,846,377
I tried with another " .ini " file where is the "show" price :
1=3,846,377
2=3,734,733
But not working , I see only the first figure ( Price: 3 )
I tried to replace the commas with point :
1=3.846.377
2=3.734.733
But I get the same problem.
And now , I think isn't needed to be another " .ini " special for "show" prices.
I think is something from script, need to put some zeros at %d ...
Thank You !
-
I think stormeus released a script snippet that allows you to format numbers to thousands. (im not sure but ask him)
-
I think stormeus released a script snippet that allows you to format numbers to thousands. (im not sure but ask him)
I remember the Stormeus's snippet but it was removed :P (and Stormeus isn't online)
But however, now I try to learn Squirrel so ... I will close this topic :)
Thank You !