SA-MP Forums Archive
How to add a dot in between cash - 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: How to add a dot in between cash (/showthread.php?tid=372952)



How to add a dot in between cash - kujox222 - 28.08.2012

I am talking about like 000000.0 how do I add this?


Re: How to add a dot in between cash - Akira297 - 28.08.2012

Oh? So instead of having straight up 1 Dollar. You can have 0.50 < 50 Cents?


Re: How to add a dot in between cash - kujox222 - 28.08.2012

Quote:
Originally Posted by Akira297
Посмотреть сообщение
Oh? So instead of having straight up 1 Dollar. You can have 0.50 < 50 Cents?
Yes but I want it to show ingame like 0.1


Re: How to add a dot in between cash - ThePhenix - 28.08.2012

PHP код:
%
to express a point number.


Re: How to add a dot in between cash - kujox222 - 28.08.2012

Quote:
Originally Posted by ThePhenix
Посмотреть сообщение
PHP код:
%
to express a point number.
Umm that still doesn't tell me how to add it to where the cash is.


Re: How to add a dot in between cash - RenSoprano - 28.08.2012

This is one include maked by Grim__ you can check it
It's show textdraw under your money bar where you
can see how much cent you have

https://sampforum.blast.hk/showthread.php?tid=276600


Re: How to add a dot in between cash - kujox222 - 28.08.2012

Quote:
Originally Posted by RenSoprano
Посмотреть сообщение
This is one include maked by Grim__ you can check it
It's show textdraw under your money bar where you
can see how much cent you have

https://sampforum.blast.hk/showthread.php?tid=276600
Ya and thats not the place I need it or else I am going to have to go through and redo all the money.


Re: How to add a dot in between cash - C00K13M0N$73R - 28.08.2012

Not possible unless scripted.


Re: How to add a dot in between cash - kujox222 - 28.08.2012

Quote:
Originally Posted by C00K13M0N$73R
Посмотреть сообщение
Not possible unless scripted.
Ya tell us something we don't know? I am scripting.


Re: How to add a dot in between cash - Jstylezzz - 28.08.2012

Just make a textdraw, place a box behind it, and put it over the original money.
Then, make a timer, that updates the textdraw with the amount of the players money.
As far as i know, you can't change the original money thing