COOKIE2 Posted April 27, 2010 Share Posted April 27, 2010 hey i got an command that allows to see cash /cash how to show it to everyone like i typ /cash and it comes in public so everyone can see ur cash Link to comment
DakiLLa Posted April 27, 2010 Share Posted April 27, 2010 (edited) outputChatBox( getPlayerName( someGuy ).." has in his pocket "..getPlayerMoney( someGuy ).."$ right now", root, 0, 255, 0 ) Edited April 27, 2010 by Guest Link to comment
dzek (varez) Posted April 27, 2010 Share Posted April 27, 2010 set it server side.. and if you HAVE something POST it. and if you will not put your code into[lua ] tags, i will explode! Link to comment
Jason_Gregory Posted April 27, 2010 Share Posted April 27, 2010 outputChatBox( getPlayerName( someGuy ).." has in his pocket "..getPlayerMoney( someGuy ).."$ right now", root, 0, 255, 0 ) outputChatBox( getPlayerName( someGuy ).." has in his pocket "..getPlayerMoney( someGuy ).."$ right now", getRootElement(), 0, 255, 0 ) root -> getRootElement() Link to comment
DakiLLa Posted April 27, 2010 Share Posted April 27, 2010 outputChatBox( getPlayerName( someGuy ).." has in his pocket "..getPlayerMoney( someGuy ).."$ right now", root, 0, 255, 0 ) outputChatBox( getPlayerName( someGuy ).." has in his pocket "..getPlayerMoney( someGuy ).."$ right now", getRootElement(), 0, 255, 0 ) root -> getRootElement() You can also use 'root'. Its same as getRootElement(), try to 'run root' in runcode, you will see.. Link to comment
COOKIE2 Posted April 27, 2010 Author Share Posted April 27, 2010 works perfect ty guys Link to comment
karlis Posted April 28, 2010 Share Posted April 28, 2010 outputChatBox( getPlayerName( someGuy ).." has in his pocket "..getPlayerMoney( someGuy ).."$ right now", root, 0, 255, 0 ) outputChatBox( getPlayerName( someGuy ).." has in his pocket "..getPlayerMoney( someGuy ).."$ right now", getRootElement(), 0, 255, 0 ) root -> getRootElement() You can also use 'root'. Its same as getRootElement(), try to 'run root' in runcode, you will see.. dumbass its just saved as variable in front of some scripts Link to comment
COOKIE2 Posted April 28, 2010 Author Share Posted April 28, 2010 raulrobi u need a stat or any other script?? and just replace the line with the original outputchatbox it totaally worked for me 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