OFPEC Forum

Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: Raiden on 13 Oct 2002, 04:26:42

Title: NEWB QUES
Post by: Raiden on 13 Oct 2002, 04:26:42
how do you change the weapons for a soldier, i tried but i kept gettin error messages wen i messed with the config.

P.S. newb at this
Title: Re:NEWB QUES
Post by: Baphomet on 13 Oct 2002, 08:48:06
I'm pretty sure you're posting in the wrong area. If you want to change the weapon a soldier has. You put something like this in the units initstring. If you don't know what an initstring is. You really shouldn't be posting here.


removeallweapons this; this addmagazine "m16"; (repeat as many times for number of magazines you desire) this addweapon "m16";

This will get rid of all your weapons and add an m16 and a clip. However you can just declare the addmagazine function over and over to get more.

What config were you modifying anyhow?