In any appeal either party may, at any time before the trial, serve upon the opposite party an offer, in writing, to allow judgment to be taken against him for the sum or property or to the effect in such offer specified, and with or without costs as the offer shall specify. If the party receiving such offer accept it and give notice thereof in writing within ten days, he may file the return and offer, with an affidavit of service of notice of acceptance thereof, and judgment shall be entered thereon according to the offer. If the notice of acceptance be not given, the offer is to be deemed withdrawn and cannot be given in evidence.
S.C. Code § 18-7-110