Custom games ammo glitch

Have you ever encountered this problem in custom games where if you put infinate ammo on in a custom games gamemode it gives you limited ammo instead? I have had this issue for 3 day’s now and its really anoying. Also if you know the reason for why this is happening then please tell me. Have a good one guys and gals