How to get ammo in infected on mw3?

I was playing mw3 with some friends the other day and I started the match I was the host. I made sure the infected person did not have ammo. During playing one of the infected people was shooting at me I think it was a glitch or a hack. Can someone tell me how to do that I would really like to know?