Did they also ban criminals from bringing guns?
or just off-duty police
No. They just create regulations for the rest of us to follow and criminals are on the honor system, expected to follow laws/regulations previously broken.
It's like banning guns in National Parks: Do predators care if politicians pass laws banning bear attacks on humans?
If criminals followed all laws, police wouldn't have to carry guns, now would they?