SA-MP Forums Archive
Money like in gta. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Money like in gta. (/showthread.php?tid=460854)



Money like in gta. - audriuxxx - 30.08.2013

Hi,

In GTA money is now:

0000000000

How to make in script's, i want to show player money in textdraw, but how to format player money, and if player have for ex: 1 dollar then it will be like that:


0000000001

Because if i make with %d, then it will be just 1.


Re: Money like in gta. - mendax - 30.08.2013

Try %09d


Re : Money like in gta. - [HRD]Mar1 - 30.08.2013

try this ! $%i