How To Make Fps Weapon Fire Automatic Mode In C++

PLZ HELP ME HOW DO I MAKE MY FPS WEAPON STAY SHOOTING WHEN IM PRESSING LIKE A AUTOMATIC MODE HELP PLZ

BYE SRY FOR MY ENGLISH

You should create a game timer. Then when you catch the event of the shoot button being pressed, you start the timer at the fire rate of your weapon, then when you catch the event of the fire button being released, stop the timer. Then in the function your timer is bound to, put in your firing logic.

1 Like