Removing units weapons & magazines
How do you remove a soldier's weapon? First you need to know the name of the weapon that you intend to remove. You can check the cfgweapons list to find the OFP and the ArmA name. These names will differ if your using addons which aren't stock Armed Assault.
Removing the weapon: unit_name removeweapon (primaryweapon unit_name)
unit_name removeweapon (secondaryweapon unit_name)
Removing a magazine:unit_name removemagazine (secondaryweapon unit_name)
unit_name removemagazine (secondaryweapon unit_name)
Remove the units entire inventory: removeallweapons unit_name
Note: You can replace unit_name with _this when using the command directly in the units initialization field.