Jump to content

HELP to Race DM


SuleymanM

Recommended Posts

Posted

Hi all,

I have an problem/answer

Please hlp me with can /buynextmap ... i know already exists an panel .. with buy map .. on my server not function

How to create a script/resource to can /buynextmap (only simple command) and costs 500$?

Posted
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

Posted

Put in .... ? this:

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

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

and other this scripts

Posted
Put in .... ? this:
takePlayerMoney( source, 1000)--Server: source may be change, It debends on your script

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

and other this scripts

I didn't understand you :? !

Posted

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?

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

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