to drop a gun on the ground do this command: unit action ["DROP WEAPON", unit, 0, 0, (primaryweapon unit)]
so if you want a guy with name unit1 to drop his M16 on the ground, you type: unit1 action ["DROP WEAPON", unit1, 0, 0, M16]
dunno if I'm totally right
but maybe this'll help you