Sec. 17-41. - Unlawful use of weapons.
(a) A person commits the ordinance violation of unlawful use of weapons if he or she knowingly:
(1) Carries concealed upon or about his or her person a knife, a firearm, a blackjack or any other weapon readily capable of lethal use;
(2) Sets a spring gun;
(3) Discharges or shoots a firearm into a dwelling house, a railroad train, boat, aircraft, or motor vehicle as defined in Section 302.010, RSMo, or any building or structure used for the assembling of people;
(4) Exhibits, in the presence of one (1) or more persons, any weapon readily capable of lethal use in an angry or threatening manner;
(5) Possesses or discharges a firearm or projectile weapon while intoxicated;
(6) Discharges a firearm within one hundred (100) yards of any occupied schoolhouse, courthouse, or church building;
(7) Discharges or shoots a firearm at a mark, at any object, or at random, on, along or across a public highway or discharges or shoots a firearm into any outbuilding;
(8) Carries a firearm or other weapon readily capable of lethal use into any church or place where people have assembled for worship, or into any election precinct on any election day, or into any building owned or occupied by any agency of the federal government, state government, or political subdivision thereof;
(9) Discharges or shoots a firearm at or from a motor vehicle, as defined in Section 301.010, RSMo, while within the city, or discharges or shoots a firearm at any person, or at any other motor vehicle, or at any building or habitable structure, unless the person was lawfully acting in self-defense;
(10) Carries a firearm, whether loaded or unloaded, or any other weapon readily capable of lethal use into any school, onto any school bus, or onto the premises of any function or activity sponsored or sanctioned by school officials or the district school board.
(b) Subsections (a)(1), (3), (4), (6), (7), (8), (9), and (10) of this section shall not apply to or affect any of the following:
(1) All state, county and municipal law enforcement officers who have completed the training required by the police officers standards and training commission pursuant to Sections 590.030 to 590.050, RSMo, and possessing the duty and power of arrest for violation of the general criminal laws of the state or for violation of ordinances of counties or municipalities of the state, whether such officers are on or off duty, and whether such officers are within or outside of the law enforcement agency's jurisdiction, or any person summoned by such officers to assist in making arrest or preserving the peace while actually engaged in assisting such officer;
(2) Wardens, superintendents and keepers of prisons, penitentiaries, jails and other institutions for the detention of persons accused or convicted of crime;
(3) Members of the armed forces or National Guard while performing their official duties;
(4) Those persons vested by Article V, Section 1, of the constitution of the state with the judicial power of the state and those persons vested by Article III of the Constitution of the United States with the judicial power of the United States, the members of the federal judiciary; or
(5) Any person whose bona fide duty is to execute process, civil or criminal;
(6) Any federal probation officer;
(7) Any state probation or parole officer, including supervisors and members of the board of probation and parole;
(8) Any corporate security advisory meeting the definition and fulfilling the requirements of the regulations established by the board of police commissioners under section 84.340, RSMo.
(9) Any coroner, deputy coroner, medical examiner, or assistant medical examiner.
(c) Subsections (a)(1), (5), (8) and (10) of this section do not apply when the actor is transporting such weapons in a nonfunctioning state or in an unloaded state properly cased when ammunition is not readily accessible or when such weapons are not readily accessible. Subsection (a)(1) of this section does not apply to any person twenty-one (21) years of age or older transporting a concealable firearm in the passenger compartment of a motor vehicle so long as such concealable firearm is otherwise lawfully possessed, nor when the actor is also in possession of an exposed firearm or projectile weapon for the lawful pursuit of game, or is in his dwelling unit or upon business premises over which the actor has possession, authority or control, or is traveling in a continuous journey peaceable through this state. Subsection (a)(10) of this section does not apply if the firearm is otherwise lawfully possessed by a person while traversing school premises for the purposes of transporting a student to or from school, or possessed by an adult for the purposes of facilitation of a school-sanctioned firearm-related event.
(d) Subsections (a)(1), (8), and (10) shall not apply to any person who has a valid concealed carry endorsement issued pursuant to Sections 571.101 to 571.121 RSMo, or a valid permit or endorsement to carry concealed firearms issued by another state or political subdivision of another state.
(e) Subsections (a)(3), (4), (5), (6), (7), (8), (9), and (10) shall not apply to persons who are engaged in a lawful act of defense pursuant to Section 563.031, RSMo.
(f) Nothing in this section shall make it unlawful for a student to actually participate in school-sanctioned gun safety courses, student military or ROTC courses, or other school-sponsored firearm-related events, provided the student does not carry a firearm or other weapon readily capable of lethal use into any school, onto any school bus, or onto the premises of any function or activity sponsored or sanctioned by school officials or the district school board.
http://library.municode.com/index.aspx?clientId=10089