I'm glad you didn't allow AK-74 swallowing with this script, since you limited it to hiding pistols. Hmm, though it would have been fun to create a spray of vomit particles ;P

Instead of having an array of pistol classes, check that the weapon inherits from PistolCore, using the method I explained in another thread. This will allow the script to holster any pistol from any addon.

Nice script but in some situations there's a little problem. (that can be solved with a timer or so)Unholster the weapon, kill one soldier, holster the weapon before the second soldeir can see you and you will be captive again.