Prodax Posted April 11, 2013 Share Posted April 11, 2013 hy Everibody,please help my script no good. onplayerwasted,money zero. function money (thePlayer) exports.global:takeMoney end addEventHandler("onClientPlayerWasted", money) Link to comment
iPrestege Posted April 11, 2013 Share Posted April 11, 2013 function money () -- What u want now here? end addEventHandler("onClientPlayerWasted", money) Link to comment
PaiN^ Posted April 11, 2013 Share Posted April 11, 2013 If you want to take the players money when he dies, You should do it server side : function money ( ) setPlayerMoney ( source, 0 ); end addEventHandler ( 'onPlayerWasted', root, money ); If you want anything else, Explain better .. Link to comment
iPrestege Posted April 11, 2013 Share Posted April 11, 2013 If you want to take the players money when he dies, You should do it server side : function money ( ) setPlayerMoney ( source, 0 ); end addEventHandler ( 'onPlayerWasted', root, money ); If you want anything else, Explain better .. Why? there's function to tkae the money and why u want to set it to 0?? takePlayerMoney ???????? Link to comment
PaiN^ Posted April 11, 2013 Share Posted April 11, 2013 Why? there's function to tkae the money and why u want to set it to 0?? takePlayerMoney ???????? I know that function, It's the same + hy Everibody,please help my script no good.onplayerwasted,money zero. function money (thePlayer) exports.global:takeMoney end addEventHandler("onClientPlayerWasted", money) That's what i got from him, If he want's anything else Explain better .. Link to comment
iPrestege Posted April 11, 2013 Share Posted April 11, 2013 I did not notice Sorry about this 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