27.05.2012, 09:00
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?
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?