OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: mrtaterz on 02 Aug 2006, 08:45:23

Title: Money Transfer script
Post by: mrtaterz on 02 Aug 2006, 08:45:23
Hi everyone. I'm working on a mission that will allow players to transfer money between each other and I'm not sure how to do it. I can think of a way making individual scripts for each player trading a certain amount of money to another player.
like player1 trade 100$ to player2, player1 trade 100$ to player3, etc...
But i'm wondering if there's an easier way.

if anyone is interested in helping me that would be great.
Title: Re: Money Transfer script
Post by: mrtaterz on 06 Aug 2006, 09:21:08
Hm nevermind. I got this. There's just tons of scripts to be made  :-\
Title: Re: Money Transfer script
Post by: Martin Kuka on 10 Aug 2006, 14:54:41
lol I thought about making a weapon or equipment shop in certain mission of my Campaign.
But I dont know even to make small cratefiller scripts.
Title: Re: Money Transfer script
Post by: rhysduk on 01 Sep 2006, 17:40:47
This might be of help : Click Here! (http://www.ofpec.com/forum/index.php?topic=28274.0)

@Martin

Martin, see the attached script for your query. Any problems, then get me on msn , IM or here.

The script will add the following weapons:


And their relevant ammo.

Rhys