open.mp forum
[Pawn] Scriptfiles created with fopen(File: file, io_append), gets deleted - Printable Version

+ open.mp forum (https://forum.open.mp)
-- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3)
--- Forum: Pawn Scripting (https://forum.open.mp/forumdisplay.php?fid=10)
--- Thread: [Pawn] Scriptfiles created with fopen(File: file, io_append), gets deleted (/showthread.php?tid=1267)



Scriptfiles created with fopen(File: file, io_append), gets deleted - Mergevos - 2020-10-22

As the title says, files created with io_append gets deleted everytime server (re)starts?up again.?



Code is this function:?https://github.com/Mergevos/samp-logging/blob/master/logging.inc#L182



File gets created, and all of the content is written into, but when server starts again, it gets deleted.