No person shall shoot or otherwise discharge any air gun, cannon, pistol, rifle, or firearm of any kind within the city, except as provided for by special permission of the City Council, or in defense of himself, or his property, or in the discharge of his official duties.