15.11.2015, 01:34
If I am saving my factions like this:
Is there a way to load all tags from a file?
So I can load the data like this:
pawn Код:
new INI:ini = INI_Open("factions.ini");
foreach(new factionid:factions)
{
INI_SetTag(ini, factionid);
// other shit
}
INI_Close(ini);
So I can load the data like this:
pawn Код:
foreach(new factionid:factions)
{
INI_Int("Leader", FacInfo[factionid][facLeader]);
}