(A) This chapter shall not apply to the discharge of firearms or other weapons in the city's extraterritorial jurisdiction or in an area annexed by the city after 9-1-1981, if the firearm or other weapon is:
(1) A shotgun, air rifle or pistol, BB gun, or bow and arrow discharged:
(a) On a tract of land of ten 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; or
(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.
(B) This chapter shall not apply to the discharge of a firearm:
(1) By a licensed peace officer in the course and scope of carrying out his or her law enforcement duties; or
(2) By a person who is justified in using deadly force under in Tex. Penal Code, Subch. D and E.