About money stock
#1

Hello People,
How to make a money stock that every 3 number it will put a ","?
For Example:
3000 = 3,000
3000000 = 3,000,000
Thanks for helping...
Reply
#2

Any one? help?
Reply
#3

Lol i think this is impossible
Reply
#4

It's impossible with a stock but do it like : Costs 3000, and then GivePlayerMoney(playerid, -3000); or something like this if you know what i mean, i can't give any code because im on school sending this from my cell...
Reply
#5

Slice created an include for this:
https://sampforum.blast.hk/showthread.php?tid=184328

You can also use this function:
https://sampwiki.blast.hk/wiki/AddCommas
Reply
#6

Lol i needed something like this before for script.Thank you CalvinC.
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)