Ok so here is the problem now, I used the code which $trinick gave me
package noShootCrouch {
function Armor::onTrigger(%db, %this, %slot, %pos) {
if(%slot == 3 && isObject(%this.getMountedImage(%pos?1:0))) {
%this.mountImage(%this.getMountedImage(%pos?1:0), %pos?0:1);
%this.unMountImage(%pos?1:0);
}
parent::onTrigger(%db, %this, %slot, %pos);
}
};
activatePackage(noShootCrouch);
So when I crouch it suppose to not let me shoot and when I'm standing it could shoot, but it happened the exact opposite. please help