In an action prosecuted in the name of the State for the recovery of money or property or to establish a right of claim for the benefit of any county, city, town, village, corporation or person costs awarded against the plaintiff shall be a charge against the party for whose benefit the action was prosecuted and not against the State.
S.C. Code § 15-37-210