10.08.2014, 00:25
pawn Код:
new str[64];
for(new i = 0; i < MAX_HOUSES;i++)
{
format(str,sizeof(str), HousePath, i);
INI_ParseFile(str, "LoadHouses_%s", .bExtra = true, .extra = i );
}
And this is how you shoud define load data....
pawn Код:
forward LoadHouses_data(i, name[], value[]);
public LoadHouses_data(i, name[], value[])
{
yourhousedata...
return true;
}