OFPEC Forum
Addons & Mods Depot => OFP - Addons & Mods General => Topic started 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.
-
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?
-
Hi
I accidently posted in the wrong board, because i wanted it for addon, but thats useful for just in the editor.
-
Question anwsered on the previews Thread, so no need for two ;)
Topic Locked