Infinite ammo

Some map hacks involve using the player weapon functions on an entity like an info_notnull. In order to get this working, you need to set the ammo level on that entity, usually to some large number. Nonetheless, some mappers may think that setting a large number isn’t enough – potentially that ammo could run out and the entity would stop working! I’m here to reassure you that we can make an infinite shooter, and the trick to doing so is very simple. Just set the ammo count to 99999999 or more and it will literally never run out. No matter how many times the code tries to subtract 1 from this number, the ammo will never decrease. Read on to find out why