If a person is convicted of a misdemeanor involving family violence, as defined by Section 71.004, Family Code, the court shall notify the person of the fact that it is unlawful for the person to possess or transfer a firearm or ammunition.
Tex. Code Crim. Proc. § 42.0131