SA-MP Forums Archive
Running query on a dini database - 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: Running query on a dini database (/showthread.php?tid=653460)



Running query on a dini database - Akeem - 05.05.2018

Hey everyone, I'm trying to run a query on my dini database and i have on idea where to start. So i have a folder called users and when a new player regiaters i want to assign that player a randon four digit ID but i have a problem with if 2 players have the same ID. Hence i want to run a query on the dini database to check if someone have that ID. Is this even possible tho.


Re: Running query on a dini database - Izaque1998 - 05.05.2018

Quote:
Originally Posted by ******
Посмотреть сообщение
No. dini is not a database, either use ini files (but not dini, that's just terrible in every way), or a proper database you can query.
what would be "INI_ParseFile" in DOF_2?


Re: Running query on a dini database - Akeem - 06.05.2018

Ok but stilll is it possible for me to run a query on a specific line in all the files in the users folder?


Re: Running query on a dini database - Logic_ - 06.05.2018

INI files do not provide database relations because they are not a database! they are separate files.