kevin11 Posted May 1, 2010 Posted May 1, 2010 (edited) EDITED i need a script that does thw following /cash (shows youre cash) /cash player (shows other players cash) i also want whn i type /cash, the you have ...$ will be announced public in the chatbox this is what i got addCommandHandler ( "cash", function ( player, command ) local money = getPlayerMoney ( player ) --Grab the player's money outputChatBox ( "You have $"..money, player, 0, 255, 0 ) end ) Edited May 3, 2010 by Guest
raulrobi Posted May 1, 2010 Posted May 1, 2010 Hey,i got one but i didnt want to make it public.So i give you the cash and you give me the dd/dm wins? Ok?.But i have a little problem.it doesent saves the money.
kevin11 Posted May 1, 2010 Author Posted May 1, 2010 Hey,i got one but i didnt want to make it public.So i give you the cash and you give me the dd/dm wins?Ok?.But i have a little problem.it doesent saves the money. if it doesnt work why dont post here so people can look at it (the racewin script for dd/dm comes tommorow , only if it works)
raulrobi Posted May 1, 2010 Posted May 1, 2010 i dont post here than COOKIE2 stheals my script and than says it is my script.i dont sthealed it ( jose )
kevin11 Posted May 1, 2010 Author Posted May 1, 2010 (edited) ahah send to me in PM Edited May 1, 2010 by Guest
kevin11 Posted May 1, 2010 Author Posted May 1, 2010 stay on topic ok? (i post it IF it works if it doesnt work i wont post cuz its crap then)
Jason_Gregory Posted May 1, 2010 Posted May 1, 2010 What do you need ? A way to save Players Money into a Account or just a simple Cash Script ? like you join the server and on the right in middle there is little layer CASH: 0000 You can use Direct X Functions + getPlayerSerial. But you need to save the Serial + Moneyamount somewhere, try to use SQL Databases or the Account Stylesheet
kevin11 Posted May 1, 2010 Author Posted May 1, 2010 well i want a script that save yuor cash on youre account
Jason_Gregory Posted May 1, 2010 Posted May 1, 2010 https://wiki.multitheftauto.com/wiki/SetAccountData
kevin11 Posted May 1, 2010 Author Posted May 1, 2010 lol i better quit scripting cuz i dont get the whole thing
kevin11 Posted May 1, 2010 Author Posted May 1, 2010 ANYONE with a script or something not from wiki (i already searched there)
raulrobi Posted May 2, 2010 Posted May 2, 2010 (edited) I dont let more public... Edited May 2, 2010 by Guest
kevin11 Posted May 2, 2010 Author Posted May 2, 2010 thats not cash save.... it shows how much cash u have
kevin11 Posted May 2, 2010 Author Posted May 2, 2010 to everyone here YAYAYAYA i got my ascript AYAYAYAYAYAYAYAYAYYA raulrobi
dzek (varez) Posted May 3, 2010 Posted May 3, 2010 dudes, you (kevin11) and raulrobi are talking with each other here for some time.. i dont know even WHAT YOU WANT and this: to everyone here YAYAYAYA i got my ascript AYAYAYAYAYAYAYAYAYYA looks like your problems are solved
robhol Posted May 3, 2010 Posted May 3, 2010 And.. please stop posting 2, 6 or 250 million times in a row. There is an edit button, you can use that for adding information to your posts. Bumping should be used carefully, not every other second. These forums aren't active enough to ensure an answer within a couple of hours, especially when you don't even manage to ask your questions properly! PLEASE, try to be patient. As a general rule, you should bump at MOST once in 24 hours and use the edit button wherever you can..
kevin11 Posted May 3, 2010 Author Posted May 3, 2010 no look i edited my question yesterday that is what i ned
cronomx Posted May 4, 2010 Posted May 4, 2010 Maybe this is what you are looking for: addCommandHandler ( "cash", function ( player, command, dude ) if dude then local temp = getPlayerFromName(dude) if temp then outputChatBox("The player "..dude.." has $"..tostring(getPlayerMoney(temp)),player,0,255,0) else outputChatBox("Player "..dude.." not found",player,0,255,0) end else outputChatBox("The player "..getPlayerName(player).." has $"..tostring(getPlayerMoney(player)), getRootElement(),0,255,0) end end )
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