SA-MP Forums Archive
YINI or DINI - 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: YINI or DINI (/showthread.php?tid=390157)



YINI or DINI - Magic_Time - 04.11.2012

Hello, I was wondering what is best to use to store information:
YINI or DINI?
Please, if someone could tell me which is faster and more efficient.


Re: YINI or DINI - Anthony © - 04.11.2012

YINI.


Re: YINI or DINI - zDivine - 04.11.2012

I would recommend YINI, by far.


Re: YINI or DINI - ReneG - 04.11.2012

Well, dini opens/closes the file to write ONE value. Inpractical for saving player stats.

y_ini opens the file, writes multiple values, and then closes the file.

In short, y_ini is more efficient.


Re: YINI or DINI - Magic_Time - 04.11.2012

Which is easier to use?
Excuse me as I am newbie at scripting.


Re : YINI or DINI - Amine_Mejrhirrou - 04.11.2012

dini ! but yini is not very complecated ... let's say that yini is faster ,
i'm using dini but i use it only in onplayerconnect and disconect to save files , then i use variables to avoid open/close ini files ! for me it's the same so ...


Re: YINI or DINI - Glad2BeHere - 04.11.2012

yini is so easier to save files and easier to use everyone knows that (Y) especially if u want to save stuff for players