Jump to content

Onplayerwasted


Prodax

Recommended Posts

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

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