For the modded controllers guys to have infinite ammo on Ps3/Ps4 you just need to make a Classe with Weapon EM1 and turn ON your Rapid Fire.
Dunno why but maybe game glitches and you have full ammo always.
I saw this in a Xbox forum but it work aswell on Playstation.