SA-MP Forums Archive
[Include] file_system - Easy file handler. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Includes (https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] file_system - Easy file handler. (/showthread.php?tid=591537)



file_system - Easy file handler. - Swedky - 13.10.2015

New thread - go here: [Include] file_system [reduce memory usage - faster than y_ini!]


Re: file_system - Easy file handler. - Sellize - 19.10.2015

This seems easy to use. Good job


Re: file_system - Easy file handler. - Gammix - 19.10.2015

How can you beat myini? (as both of our include supports one file at a time)

This:
pawn Код:
File_Create("Testing.txt");
    File_WriteStr("String", "I wrote here!");
    File_WriteInt("Int", 1454);
    File_WriteFloat("Float", 543.0000);
    File_WriteBool("Bool", false);
    File_Close(); // Don't forget this!
With myini:
pawn Код:
myini_write("Testing.txt", "sifb", "I wrote here!", 1454, 543.0000, false);
I am sure my version will have better speed because i perform all the file stuff in one stock.