bartje01 Posted November 7, 2010 Share Posted November 7, 2010 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
Aibo Posted November 7, 2010 Share Posted November 7, 2010 https://wiki.multitheftauto.com/wiki/TakePlayerMoney p.s.: pay attention that you're using it client-side 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