hassan.k.s.a Posted June 19, 2012 Share Posted June 19, 2012 (edited) ***** Edited December 26, 2012 by Guest Link to comment
GhostXoP Posted June 19, 2012 Share Posted June 19, 2012 Are you asking, when you kill someone, you get their amount of money? Link to comment
Castillo Posted June 20, 2012 Share Posted June 20, 2012 I didn't understood much about it, although, we don't accept requests here. Link to comment
Cadu12 Posted June 20, 2012 Share Posted June 20, 2012 I tinhk he mean this: function formNumberToMoneyString ( value ) if tonumber ( value ) then value = tostring ( value ) if string.sub ( value, 1, 1 ) == "-" then return "-"..setDotsInNumber ( string.sub ( value, 2, #value ) ).." $" else return setDotsInNumber ( value ).." $" end end return false end local function setDotsInNumber ( value ) if #value > 3 then return setDotsInNumber ( string.sub ( value, 1, #value - 3 ) ).."."..string.sub ( value, #value - 2, #value ) else return value end end Credits to Zipper Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now