For an automatic law all you need to do is raise the ammo.
For the spas, you need to change the fire rate to 0. Otherwise, it'll just be semiautomatic no matter how fast you make it fire. The only way to get an automatic shotgun aside from making it fire ridiculously fast is to make a different automatic weapon fire shotgun pellets.