Jector Posted March 25, 2012 Share Posted March 25, 2012 How to make money look like this $100 or $100,000 and I mean things like the money with a ',' in it. Link to comment
jeremaniak Posted March 25, 2012 Share Posted March 25, 2012 Wuat do you mean like when you type /money you see the ammount of money you have? Link to comment
Castillo Posted March 25, 2012 Share Posted March 25, 2012 He want's to convert the money number in a string, example: $100,000, $10,000,000. Link to comment
Jaysds1 Posted March 25, 2012 Share Posted March 25, 2012 he could try "string.format" Link to comment
jeremaniak Posted March 25, 2012 Share Posted March 25, 2012 or replace the hud with his self made Link to comment
Jaysds1 Posted March 25, 2012 Share Posted March 25, 2012 or replace the hud with his self made but he's still going to have to use the string.format to edit how the money's going to look like. Link to comment
Jector Posted March 31, 2012 Author Share Posted March 31, 2012 Can someone just give me an example code to show it? Right now I am using outputChatBox( "Your current money: $" .. exports.global:getMoney( thePlayer ), thePlayer ) 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