[Help] Y_INI - Reading - 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: [Help] Y_INI - Reading (
/showthread.php?tid=346071)
[Help] Y_INI - Reading -
Maxips2 - 27.05.2012
Hello guys,
I've been trying to use y_ini to save & load ini files.
I had no trouble with saving, the only problem is with loading.
The way I made it save is by tags.
For example, if I got 100 vehicles in my server, and I decide to save them into ONE ini file, by separating the vehicles by tag, so it would go kinda like this:
[Vehicle1]
// info
[Vehicle2]
// info
[Vehicle3]
// info
...
[vehicle100]
// info
So my question is, how do I make it load from one file, data from a specific tag?
Re: [Help] Y_INI - Reading -
Maxips2 - 27.05.2012
I saw that, but as far as I understood, you must create a public with the tag name?
Re: [Help] Y_INI - Reading -
Maxips2 - 27.05.2012
Okay, I guess I was wrong, my bad.
But could please show me an example of how I could do it?
Re: [Help] Y_INI - Reading -
Maxips2 - 27.05.2012
Help anyone? been reading those threads over and over, still none of those answer my question on how to do it..