Make sure you script in at least one of the magazines before you script in the weapon.
Example Init line:
this addMagazine "M16"; this AddWeapon "M16"
You can also add the selectWeapon command on the end if you need:
this addMagazine "M16"; this AddWeapon "M16"; this selectWeapon "M16"
Note the selectWeapon command requires the
muzzle name, which is not necessarily the same as the weapon name (eg M16+M203 & other multi-muzzle weapons).
---edit---
umm, hehe, yeah what he said