Jump to content
Sign in to follow this  
heros z

Disable firing and weapon unjam animation

Recommended Posts

I m working on a weapon jamming addon. I ve tried many thing to prevent player fromm firing with no success. Fired EH is too late, keydown EH too complex, empty used mag is not appropriate... I m lost.

Actualy, I need a class as a "fakeweapon" which inherits from a true weapon class (same magazine, icone, model, anim, weight...), and can t be fired at all; not consumming ammo, sound or anything else, just a message : "this piece of shit is jammed again".

IE :

arifle_mx_jammed : arifle_mx{

...

}

In bonus, if someone can tell me how to play an "unjam" animation, I can found it, but it d helped me a lot.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×