View Single Post
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 08-14-2018 , 06:45   Re: Add character in existing line
Reply With Quote #2

It's not very hard:
1.Create a temporary file.
2.Open the original file and read line by line.
3.Write all lines from the original file to the temporary file exactly how they are, except the desired line, which you edit and then write.
4.Delete the original file.
5.Rename the temporary file to the original name.
__________________

Last edited by HamletEagle; 08-14-2018 at 06:45.
HamletEagle is online now