Except at firing ranges, no person other than a peace officer shall fire or discharge a gun, including spring or air-actuated pellet guns, air guns or other weapons which propel a projectile by use of gunpowder or other explosive, jet or rocket propulsion.