Hi, quick correction. What you gave me works on 1.96. I am trying to implement code that works on 1.46. Sorry I should have stated that in the first post.
What I did so far on 1.46 is:
chopper1 removeMagazine "Rocket57x192"; Thanks for the previous post that helped me to discover this.
That works, but the foreach throws an error as I stated earlier.
in the init field of the air unit place
or in a script use
will remove both weapons and ammo, if thats what you are after, that way a chopper cant rearm at a reammo truck either