WalkinG Posted August 16, 2016 Share Posted August 16, 2016 Sorry for my English I want the Server Pass information pro client side, more or less it Server function money (source) valor = getPlayerMoney (source) end addEvent ("Pass.Valor",true) addEventHandler ("Pass.Valor",root,money) Client function atualiza () triggerServerEvent (localPlayer,"Pass.Valor",localPlayer,valor) outputChatBox (valor) end addCommandHandler ("show",atualiza) Thank you very much in advance Link to comment
MrJuhis Posted August 16, 2016 Share Posted August 16, 2016 Try these. Contact me on skype if you need more help with scripts, i'm everyday available. Skype: juhis122 Server function money (thePlayer) valor = getPlayerMoney (thePlayer) triggerClientEvent (thePlayer,"Pass.Valor",thePlayer,valor) end addCommandHandler ("show",money) Client function atualiza (valor) outputChatBox (valor) end addEvent ("Pass.Valor",true) addEventHandler ("Pass.Valor",localPlayer,atualiza) 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