(a) 
Definitions.
When used in this section, the following definitions shall apply unless the context clearly indicates otherwise:
Firearm.
Any device capable of discharging a projectile through a barrel using the energy generated by an explosive charge or burning substance, or any device readily convertible to such use, or any device capable of discharging a projectile through a barrel using the energy generated by compressed air, including, without limitation, an air gun, BB gun, or toy gun.
Peace officer.
A person designated as a peace officer or a special investigator by the Texas Code of Criminal Procedure, articles 2.12 and 2.122.
Shooting facility.
An area, either enclosed or out-of-doors, at which firearms are discharged at targets and that is designed so that projectiles fired from firearms at targets are prevented by means of barriers from going beyond the boundaries of the facility.
(b) 
Prohibition.
It shall be unlawful for any person to discharge a firearm within the city limits.
(c) 
Defenses.
The following are defenses to prosecution under this section:
(1) 
The person discharging the firearm was a peace officer acting in the performance of his or her official duties;
(2) 
The person discharging the firearm was lawfully defending a person or property;
(3) 
The person discharging the firearm discharged it in an established shooting facility; or
(4) 
The firearm that the person discharged was a toy gun not capable of discharging a projectile a distance in excess of fifty (50) feet.
(d) 
Subsection (b) of this article shall not apply to:
(1) 
A shotgun, air rifle or pistol, BB gun, or bow and arrow discharged:
(A) 
On a tract of land of 10 acres or more and more than 150 feet from a residence or occupied building located on another property; and
(B) 
In a manner not reasonably expected to cause a projectile to cross the boundary of the tract; and
(2) 
A center fire or rim fire rifle or pistol of any caliber discharged:
(A) 
On a tract of land of 50 acres or more and more than 300 feet from a residence or occupied building located on another property; and
(B) 
In a manner not reasonably expected to cause a projectile to cross the boundary of the tract.
(1995 Code, sec. 2.030; Ordinance adopting Code)