SuleymanM Posted February 22, 2013 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$?
PaiN^ Posted February 22, 2013 Posted February 22, 2013 I don't know much about race gamemode scripts/resources, But you can make it cost 500$ by : takePlayerMoney " Keep Thinking Different . " - Steve Jops -------------------- Don't send me PMs asking for help, I Won't reply !
SuleymanM Posted February 22, 2013 Author Posted February 22, 2013 how make resource or sript with ."take..."
PaiN^ Posted February 22, 2013 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 " Keep Thinking Different . " - Steve Jops -------------------- Don't send me PMs asking for help, I Won't reply !
SuleymanM Posted February 22, 2013 Author 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
PaiN^ Posted February 22, 2013 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 ! " Keep Thinking Different . " - Steve Jops -------------------- Don't send me PMs asking for help, I Won't reply !
SuleymanM Posted February 22, 2013 Author 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?
SuleymanM Posted February 22, 2013 Author Posted February 22, 2013 and how create command : /buynextmap
PaiN^ Posted February 22, 2013 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) " Keep Thinking Different . " - Steve Jops -------------------- Don't send me PMs asking for help, I Won't reply !
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