Tex. Transp. Code § 552.009
ORDINANCES RELATING TO PEDESTRIANS
A local authority may by ordinance:
(1) require pedestrians to comply strictly with the directions of an official traffic control signal; and
(2) prohibit pedestrians from crossing a roadway in a business district or a designated highway except in a crosswalk.
Acts 1995, 74th Leg., ch. 165, Sec. 1, eff. Sept. 1, 1995.