Wisin Posted May 3, 2011 Share Posted May 3, 2011 Hi all, i have a question, how can i make an script like this: example: i have $50000, an i want to split it on like 50,000, when the amount changes split it also. Thanks Link to comment
Try Posted May 3, 2011 Share Posted May 3, 2011 I think its this you need https://wiki.multitheftauto.com/wiki/SetPlayerMoney or this https://wiki.multitheftauto.com/wiki/GivePlayerMoney Link to comment
Castillo Posted May 3, 2011 Share Posted May 3, 2011 You're wrong, Try, and badly, he's asking to split the money adding "," (commas) to it, Example of what he want: 1,000,000 Link to comment
Jusonex Posted May 3, 2011 Share Posted May 3, 2011 You need the string functions: http://lua-users.org/wiki/StringLibraryTutorial http://mta-sa.de/forum/index.php?page=T ... 3#post8663 (I think that code is the right for you) Link to comment
Try Posted May 3, 2011 Share Posted May 3, 2011 Sorry! i thinked he need give/set the Player Money Sorry, Maria. 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