Is that every city, the OP;s city your city, my city, or what city?Pellet rifles are equally illegal to shoot inside city limits.
Is your advice to shoot off fireworks to mask the sound of a 22 in order to shoot a squirrel within city limits legal?