OFPEC Forum

Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: swordfish on 24 Oct 2002, 21:35:08

Title: Adding magazines to vehicles?
Post by: swordfish on 24 Oct 2002, 21:35:08
Hi
I want to add magazines and weapons to a jeep im making, is this what you add.

weapons[]={"M4"};
magazines[]={"M4","M4","M4","M4"};

If this is right, where would i put it in the config.
Title: Re:Adding magazines to vehicles?
Post by: Harnu on 25 Oct 2002, 00:42:46
In the Init line of the jeep do

this addweaponcargo ["weaponname",amount]
this addmagazinecargo ["magazinename",amount]

edit:

aw crap, you mean your MAKING a jeep.  Like addon wise?  Or are you placing one in a map and just want weapons and ammo to be carried inside?
Title: Re:Adding magazines to vehicles?
Post by: swordfish on 25 Oct 2002, 02:46:08
Hi
I accidently posted in the wrong board, because i wanted it for addon, but thats useful for just in the editor.
Title: Re:Adding magazines to vehicles?
Post by: Skaven on 25 Oct 2002, 12:58:01
Question anwsered on the previews Thread, so no need for two  ;)

Topic Locked