berry172 Posted August 28, 2012 Share Posted August 28, 2012 exports.global:giveMoney(client, 600) How to set random money? Link to comment
berry172 Posted August 28, 2012 Author Share Posted August 28, 2012 math.random for example? exports.global:giveMoney(client, match.random:600) ? Link to comment
TAPL Posted August 28, 2012 Share Posted August 28, 2012 This will give you random number in range 500-600 exports.global:giveMoney(client, math.random(500,600)) and please next time use lua button not Code. Link to comment
berry172 Posted August 28, 2012 Author Share Posted August 28, 2012 This will give you random number in range 500-600 exports.global:giveMoney(client, math.random(500,600)) and please next time use lua button not Code. not work! Bugged script :SSS please help not work Link to comment
TAPL Posted August 28, 2012 Share Posted August 28, 2012 i know nothing about global resource and giveMoney function, moreover client may not define. Link to comment
TAPL Posted August 28, 2012 Share Posted August 28, 2012 How about show the rest code? Link to comment
TAPL Posted August 28, 2012 Share Posted August 28, 2012 Where? Don't tell me that you have put only this in the lua file? exports.global:giveMoney(client, math.random(500,600)) Link to comment
berry172 Posted August 28, 2012 Author Share Posted August 28, 2012 Where? Don't tell me that you have put only this in the lua file? exports.global:giveMoney(client, math.random(500,600)) i'm only lua file write.. Link to comment
gokalpfirat Posted August 28, 2012 Share Posted August 28, 2012 I think you dont know lua and you take this code at a script. If you want give random money use this function givePlayerMoney( source, math.random(1,600) ) 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