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?