berry172 Posted August 28, 2012 Posted August 28, 2012 exports.global:giveMoney(client, 600) How to set random money?
berry172 Posted August 28, 2012 Author Posted August 28, 2012 math.random for example? exports.global:giveMoney(client, match.random:600) ?
TAPL Posted August 28, 2012 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.
berry172 Posted August 28, 2012 Author 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
TAPL Posted August 28, 2012 Posted August 28, 2012 i know nothing about global resource and giveMoney function, moreover client may not define.
TAPL Posted August 28, 2012 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))
berry172 Posted August 28, 2012 Author 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..
gokalpfirat Posted August 28, 2012 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) )
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