28.07.2012, 11:17
Hello,
Assuming we got the file 'houses.ini' with the following content:
I know how to load a single using a tag, but not how to load them dynamic! Like this:
I do not see a way to loop through all tags. Also INI_Parsefile is for multiple files as far as I know. Can someone show me a way to do it?
Jochem
Assuming we got the file 'houses.ini' with the following content:
Код:
[0] PickupX = 544.2 PickupY = 233.9 PickupZ = 8.0 [1] PickupX = 219.55 PickupY = 982.71 PickupZ = 22.99 // And so on
pawn Код:
INI:houses[tag](name[],value[])
{
// Loading the shit here
}
INI_Load("houses.ini");
Jochem