read from .ini file - 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: read from .ini file (
/showthread.php?tid=492745)
read from .ini file -
Don_Cage - 05.02.2014
My question is. How can I make the server read a file by a command. I'm trying to make a /reports command that will send a message containing all the reports inside the reports.ini
How can I do this?
Re: read from .ini file -
CuervO - 05.02.2014
https://sampwiki.blast.hk/wiki/File_Functions
You can either refeer to that, or search for advanced includes that do somewhat what you're asking. Y_INI, Dini or even SQL can do what you seek.
Re: read from .ini file -
Don_Cage - 05.02.2014
I searched for a clue about dini but didnt find one
EDIT: I just go and learn Y_INI since it's better than dini in many ways as I can see here:
https://sampforum.blast.hk/showthread.php?tid=175565