SA-MP Forums Archive
Y_INI help - 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 help (/showthread.php?tid=501139)



Y_INI help - Lidor124 - 16.03.2014

How to read from all users.ini available a specific variable using Y_ini? +REP




Re: Y_INI help - CuervO - 16.03.2014

Same way as I told you to read the files with .ini.

Any system based on .ini (or any other file) has a really big inflexibility when it comes to getting data from more than one .ini - Either convert your whole system to SQL or do what I told you in the other post.


Re: Y_INI help - Lidor124 - 16.03.2014

Quote:
Originally Posted by CuervO
Посмотреть сообщение
Same way as I told you to read the files with .ini.

Any system based on .ini (or any other file) has a really big inflexibility when it comes to getting data from more than one .ini - Either convert your whole system to SQL or do what I told you in the other post.
I dont know how to script with MySQL, Y_INI is easier. by the way i want to read from all users.ini only once - OnGameModeInit() - when i launch the server.


Re: Y_INI help - Lidor124 - 16.03.2014

Quote:
Originally Posted by Lidor124
Посмотреть сообщение
I dont know how to script with MySQL, Y_INI is easier. by the way i want to read from all users.ini only once - OnGameModeInit() - when i launch the server.
Edit: So how do i make it with Y_ini? i know how to use functions but i dont know to loop users.ini with Y_ini

+REP