OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: The Punisher on 08 Jul 2008, 16:44:37

Title: New to scripting, got some problems with money..
Post by: The Punisher on 08 Jul 2008, 16:44:37
Hello to everyone.  :)

I know just a tad about OFP scripting, so I need some help.

I need a script which gives you a certain amount at the start of the server, shows your current money, enables everyone to give/recive money and enables others to steal from a dead body if it got money, as in you go to the body and an action appears in the actionlist.
I'm going to give players and NPCs money.
Hope I'm not asking for too much, I really need this.

I've searched but I didn't find anything like what I need...

Thanks for reading. :)
Title: Re: New to scripting, got some problems with money..
Post by: Gcfungus on 08 Jul 2008, 18:46:01
Money scripts are difficult to create and use. Single player is difficult enough, but in multiplayer it will be a lot harder. It is do-able, however and I've seen it done by MFCTI / RTSX well. You'll need someone to help you all the way most likely, and someone with a really good knowledge of scripting.
Title: Re: New to scripting, got some problems with money..
Post by: The Punisher on 08 Jul 2008, 19:26:47
Thanks for the reply.

I'll look for someone in the the "Experts for Hire" section then.

Thanks again. :)
Title: Re: New to scripting, got some problems with money..
Post by: Cheetah on 08 Jul 2008, 20:32:07
Spooner made a money script (http://www.ofpec.com/forum/index.php?topic=30551.0) for Armed Assault, might be worth looking into it.
Title: Re: New to scripting, got some problems with money..
Post by: Mr.Peanut on 09 Jul 2008, 15:11:46
This is half of what you are looking for. It is a menu system for purchasing weapons. (http://www.ofpec.com/ed_depot/index.php?action=details&id=225&page=3&cat=xyz)

I would not look at Spooner's money script because the scripting is quite advanced and will make you wet your noobie pants in fear and confusion.