How to make a weapon single shot?

I made a weapon with 3ds max and put it into unreal engine 4, how do I make it a single shot weapon I have the FX for the bolt action sound. can someone please help me on this . Blueprint or C++ will work.

There is DoOnce node in blueprint you can use that and reset it whenever the mouse is released.

You could simply call your firing code on the Pressed pin of your Input Action event you want for firing, as it is by nature an event that only gets called once every time you click / press.