S.C. Code Ann. § 6-7-800
The governing authorities of municipalities or counties may provide for the enforcement of an ordinance or resolution adopted pursuant to the provisions of this chapter by withholding permits. The governing authority may establish and fill the position of building official or other administrative officer. Once the position has been established and filled pursuant to the provisions of this chapter, it is unlawful to construct, reconstruct, alter, change the use of, or occupy any land, building, or other structure without first obtaining the appropriate permit from the building official. The building official shall not issue a permit unless the requirements of this chapter and of any ordinance or resolution adopted pursuant to it have been met. A person who violates an ordinance or resolution adopted pursuant to the provisions of this chapter is guilty of a misdemeanor and, upon conviction, must be fined in the discretion of the court or imprisoned not more than three years, or both.
In case a building or structure is or is proposed to be erected, constructed, reconstructed, altered, converted, or maintained, or a building, structure, or land is or is proposed to be used in violation of an ordinance or resolution adopted pursuant to this chapter, the building official or other appropriate administrative officer, municipal or county attorney, or other appropriate authority of the municipality or county, or an adjacent or neighboring property owner who would be specially damaged by the violation, may in addition to other remedies, institute injunction, mandamus, or other appropriate action or proceeding to prevent the unlawful erection, construction, reconstruction, alteration, conversion, maintenance, or use; or to correct or abate the violation; or to prevent the occupancy of the building, structure, or land. Each day the unlawful erection, construction, reconstruction, alteration, conversion, maintenance, or use continues it is considered a separate offense.