Need help with y_ini
#2

change these
pawn Код:
INI_ParseFile(str, "loadfaction_%s", .bExtra = true, .extra = idx );

forward loadfaction_data(idx, name[], value[]);

public loadfaction_data(idx, name[], value[])
or u can try
pawn Код:
for(new idx = 0; idx < sizeof(Factions); idx++)
    {
      if(fexist(FPATH(idx)))
      {
        INI_ParseFile(str, "loadfactiondata_%s", .bExtra = true, .extra = idx );
        printf("The membercount is %d", Factions[idx][fMaxMembers]);
      }
    }
Reply


Messages In This Thread
Need help with y_ini - by Colossus874 - 07.03.2013, 14:57
Re: Need help with y_ini - by Glad2BeHere - 07.03.2013, 15:14
Re: Need help with y_ini - by Colossus874 - 07.03.2013, 15:59
Re: Need help with y_ini - by Colossus874 - 09.03.2013, 09:41

Forum Jump:


Users browsing this thread: 1 Guest(s)