How to shoot and limit ammo capacity. A helpful game link would be nice

How make a functioning gun and have a limited capacity

I don’t have a game right now, but:

For the gun:
KEYBOARD - (in)SWITCH[default is ON] < (in)NUMBER (-1) - (+)NUMBER (maxload of bullets) - FILTER (less than 1) - OFF (Same switch)

Also, try using the search bar to answer your question first, there were plenty of discussions made with the same topic. Just for future reference :smile:

Thank you! I searched through for hours and didn’t find exactly what I needed, but thank you for the advice!