Jump to content

HELP


LasHa

Recommended Posts

well i dont know what side you are using, if you want also that when he click the button gives 5000, use
givePlayerMoney 
onClientGUIClick 

using givePlayerMoney clientsided isn't good idea really... and he wants to check if the local player has 5000 or more...

Simply:

if getPlayerMoney() > 4999 then 
--Whatever you need doing 
else 
outputChatBox("Not enough money") 
end 

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...