SA-MP Forums Archive
[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=343892)



[Help] Y_INI - Reading - Maxips2 - 19.05.2012

Hello guys, this is the first time I'm using y_ini so I don't really know much about it.

First of all, thank you in advance if you have decided to try to help me with my issue.

Okay, so here we go:
For example, I saved 300 vehicles in one file sorting them by tags so it would look like this:

[Vehicle1]
SpawnX = 0.0
SpawnY = 0.0
SpawnZ = 0.0
[Vehicle2]
SpawnX = 0.0
SpawnY = 0.0
SpawnZ = 0.0

... and so on.

Now my question is how do I read all the data from the file sorting them by tags?