so I am looking at some forums about functions and I think I wanna learn how to do it. the first thing I know about it is that ik that a function allows you to make quick variables that do a action when used. I think the code to the start is like this
also what I wanna do is make something that splits numbers to make it look like these certain numbers
(1k, 1m, 1b, 1t ,1q, 1Q, etc)
I think it is like
but idk after that
Also I am using %player's balance%
Code:
Function money(money: number) :: number
#do code
(1k, 1m, 1b, 1t ,1q, 1Q, etc)
I think it is like
Code:
set {_shortens} to "K,3|M,6|B,9|T,12|q,15|Q,18"
Also I am using %player's balance%
Last edited: