Jector Posted March 25, 2012 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. http://www.4shared.com/folder/KprdyGrd/MTARP_Scripts.html
jeremaniak Posted March 25, 2012 Posted March 25, 2012 Wuat do you mean like when you type /money you see the ammount of money you have?
Castillo Posted March 25, 2012 Posted March 25, 2012 He want's to convert the money number in a string, example: $100,000, $10,000,000. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Jaysds1 Posted March 25, 2012 Posted March 25, 2012 he could try "string.format" My in-game name: Jaysds1 Retired CMG Scripter World Of Tanks GameMode (Open-Source): https://github.com/Jaysds1/mtasa-wot-gamemode Online GUI-Editor (WIP): https://forum.mtasa.com/topic/47678-online-gui-editor/
Jaysds1 Posted March 25, 2012 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. My in-game name: Jaysds1 Retired CMG Scripter World Of Tanks GameMode (Open-Source): https://github.com/Jaysds1/mtasa-wot-gamemode Online GUI-Editor (WIP): https://forum.mtasa.com/topic/47678-online-gui-editor/
Jector Posted March 31, 2012 Author 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 ) http://www.4shared.com/folder/KprdyGrd/MTARP_Scripts.html
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