SA-MP Forums Archive
y_ini question - 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: y_ini question (/showthread.php?tid=488804)



y_ini question - Whizion - 19.01.2014

Everytime i save new variables to a file they go to the bottom of the file, and not in the order i'm saving them. Is there a way to fix that? Because the user file really looks messy this way.


Re: y_ini question - Whizion - 21.01.2014

Bump.


Re: y_ini question - $Marco$ - 21.01.2014

Check the order in which you save them into the the INI file.
In my experience they always save in the order i made them.
Double check all the Y_INI related lines you have.


Re: y_ini question - Whizion - 21.01.2014

Quote:
Originally Posted by Xsyiaris
View Post
Check the order in which you save them into the the INI file.
In my experience they always save in the order i made them.
Double check all the Y_INI related lines you have.
The order is okay, and they are in order when the file is created the first time.

But when i want to add "new" variables, the "new" variables end up at the end.

What i want is that it always saves in the order i specified in the script.


Re: y_ini question - Sawalha - 21.01.2014

is the problem when a player disconnects? dosen't save his last stats?