Hold down the space bar and fire with a machine gun for unlimited ammo. In fact, this works with any weapon that fires a continuous stream.