read from .ini file
#1

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?
Reply
#2

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.
Reply
#3

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)