How do i turn infinite ammo on in custom game

I was just wondering, how do i turn infinite ammo on in custom gamess?