Jump to content

Really can't come out now


bartje01

Recommended Posts

Hey guys. SOrry that I'm asking another question already.

But I've searched Wiki and I already asked someone else buy he didn't come out either.

  
if (source == buyweapondeagle) then 
     
    givePlayerMoney ( getLocalPlayer (), -350 ) 
    outputChatBox ("You've bought a deagle!") 
  end 
end 
  
addEventHandler ("onClientGUIClick",getRootElement(),guiClick) 
  

The text: You've bought a deagle is working.

But the money isn't working.

I tried alot of things now.

Please help

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...