View Single Post
CrazyHackGUT
AlliedModders Donor
Join Date: Feb 2016
Location: Izhevsk, Russia
Old 05-09-2019 , 08:06   Re: OpenFile(sPath, "w")
Reply With Quote #3

If you open file with default Windows Notepad - this is ok. On Windows, file lines ends on 2 bytes: carriage return (\r) and line feed (\n). SourceMod appends only line feed. Windows Notepad can't show normally files, where line ends only on line feed.
Any another custom editors, like Notepad++ or KDE Text Advanced Editor should display these files normally.

https://github.com/alliedmodders/sou....cpp#L785-L792
__________________
My english is very bad. I am live in Russia. Learning english language - very hard task for me...
CrazyHackGUT is offline
Send a message via ICQ to CrazyHackGUT Send a message via Skype™ to CrazyHackGUT