I'm basically working on a "realistic" survival horror mod, where you basically have the guns and the magazine they come with. What you do get are instead single bullets, that you put inside said magazine by extracting it from the weapon with the "altfire" and then reload it with a simple "inventory item". The system works.
The problem with this system, though, is that if the player runs out of ammo in the clip and presses the trigger again, the game removes the weapon and takes out another, even if the player has ammo to put inside the clip/magazine.
Is there a way to make it go to a state where the gun doesn't fire but "clicks" using A_JumpIfNoAmmo, without the game taking my weapon away?
Basically, the switching out would happen only due to player input.
Because all my tries have been fruitless...I'm kind of desperate...everything else works like a charm, damn.
I thank you all in advance for your help, and I apologize if my writing isn't at its best, but it's 2:35 AM here so I'm kind of sleepy

Thank you all, guys!
