No city or town may enjoy any benefits under this article unless it has passed a suitable ordinance approved by the State Fire Marshal providing a building and inspection code for the proper erection and inspection of all buildings in the city or town so as to eliminate, as far as may be possible, the danger of fires arising from defective construction or the presence and existence of inflammable and combustible material and conditions.
S.C. Code § 23-9-350