Winters 1 Posted August 23, 2004 Hi all, I was wondering how i can disable a vehicles weapon without removing the ammo? Maybe enable you to pop off a few rounds and then the weapon jams up and is unusable afterwards. Edit: this would be for a HMMWV and not a tank. Thanks in advance  Share this post Link to post Share on other sites
InqWiper 0 Posted August 23, 2004 I tried this on an MGJeep: this addeventhandler ["Fired",{deletevehicle nearestobject [_this select 0,_this select 4];_this select 0 removeweapon "Browning";_this select 0 removemagazine "Browning";_this select 0 addmagazine "Browning";_this select 0 addweapon "Browning"}] You will still see the gun fire and hear the gun fire but there will be no bullet and no ammo loss. Share this post Link to post Share on other sites
Winters 1 Posted August 23, 2004 Is there anyway to stop the sounds and flash as well? i really need it to be totally disabled. Share this post Link to post Share on other sites
InqWiper 0 Posted August 23, 2004 The only way I know is to remove the ammo. (guessing you dont want to disable user input ) Share this post Link to post Share on other sites
Winters 1 Posted August 23, 2004 hmmm, would disabling user input allow them to leave the vehicle when it's attacked if they need to? Share this post Link to post Share on other sites
PLRSniper 3 Posted August 24, 2004 Or you could get a little bit advanced and make an addon vehicle that cant fire and then replace a normal functioning vehicle with that one using deleteVehicle and createVehicle commands.  Just an idéa of a sollution Share this post Link to post Share on other sites