SA-MP Forums Archive
How to read custom files? - 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: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: How to read custom files? (/showthread.php?tid=643953)



How to read custom files? - Arbico - 31.10.2017

Now this isn't a scripting questions, but at the same time it is.
I wanna know how to read actually custom files...
I'm pretty sure you understood me wrong there, but i want to know how did includes like y_ini and dini read ini files without plugins, it's kinda confusing, if i want to make an include like a_ini or something, how would i?


Re: How to read custom files? - OneDay - 31.10.2017

fopen
fread
fclose


Re: How to read custom files? - Lucases - 31.10.2017

They use native "fopen" "fclose" functions. It's hard to create something like that.