EstrategiaGTA Posted August 29, 2013 Posted August 29, 2013 (edited) Hello, so in the wiki it gives an example in client side like this: getPlayerMoney ( ) Is that right, and how do I use it on client side with an if the money greater than 5000? I see a bit 'weird' that I do not need to use it like this: getPlayerMoney ( getLocalPlayer() ) Edited August 29, 2013 by Guest
Moderators IIYAMA Posted August 29, 2013 Moderators Posted August 29, 2013 client local money = getPlayerMoney ( ) if money > 5000 then outputChatBox("money is higher then 5000") end Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
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