Jump to content

HELP to Race DM


SuleymanM

Recommended Posts

takePlayerMoney( source, 1000)--Server: source may be change, It debends on your script 
takePlayerMoney( source )--Client: Also source changes depending on your script  

Here's an example :

--server 
addEventHandler("onPlayerDamage", root, 
    function () 
        takePlayerMoney(source, 100) 
    end 
) 

It takes 100$ from any player that got damaged ..

--client 
addEventHandler("onClientPlayerDamage", root, 
    function () 
        takePlayerMoney(100) 
    end 
) 

Does same as above

Link to comment
this:
takePlayerMoney( source, 1000)--Server: source may be change, It debends on your script

takePlayerMoney( source )--Client: Also source changes depending on your script

Put on?

I'm sorry if i''m not helpful, But i still don't understand :? .

And like i said before :

I don't know much about race gamemode scripts/resources

+

and how create command : /buynextmap
addCommandHandler("buynextmap", functionName) 

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