SuleymanM Posted February 22, 2013 Share Posted February 22, 2013 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$? Link to comment
PaiN^ Posted February 22, 2013 Share Posted February 22, 2013 I don't know much about race gamemode scripts/resources, But you can make it cost 500$ by : takePlayerMoney Link to comment
SuleymanM Posted February 22, 2013 Author Share Posted February 22, 2013 how make resource or sript with ."take..." Link to comment
PaiN^ Posted February 22, 2013 Share Posted February 22, 2013 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
SuleymanM Posted February 22, 2013 Author Share Posted February 22, 2013 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 Link to comment
PaiN^ Posted February 22, 2013 Share Posted February 22, 2013 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 ! Link to comment
SuleymanM Posted February 22, 2013 Author Share Posted February 22, 2013 this: takePlayerMoney( source, 1000)--Server: source may be change, It debends on your scripttakePlayerMoney( source )--Client: Also source changes depending on your script Put on? Link to comment
SuleymanM Posted February 22, 2013 Author Share Posted February 22, 2013 and how create command : /buynextmap Link to comment
PaiN^ Posted February 22, 2013 Share Posted February 22, 2013 this: takePlayerMoney( source, 1000)--Server: source may be change, It debends on your scripttakePlayerMoney( 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
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