Where I'm at the Detectives have a lock on running the candy/soda machines in the building. The profits go into a pool that they use to pay for their "uniforms" (suits) dry cleaning bills.
And the nearest dry cleaner is around the corner.
Although many good citizens in your community may own and carry guns, keeping the community safe still fall on those who carry badges.
In a gunfight, even if you do everything right, you can still get killed.