manve1 Posted December 13, 2012 Posted December 13, 2012 Is it possible to get the number out from a function like givePlayerMoney? for example for script like this: local money = givePlayerMoney( math.random( 20, 40 ) ) outputChatBox( money )
TAPL Posted December 13, 2012 Posted December 13, 2012 local money = math.random( 20, 40 ) givePlayerMoney( money ) outputChatBox( money )
TwiX! Posted December 13, 2012 Posted December 13, 2012 local money = math.random( 20, 40 ) givePlayerMoney( money ) outputChatBox( money ) but remember that Note: Using this function client side (not recommended) will not change a players money server side.
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