y_ini not loading file.
#1

My Y_ini is not loading the file. Im 100 % sure it saves. But it doesn't load.
Load public.
pawn Код:
forward load_factions(name[], value[]);
public load_factions(name[], value[])
{
    INI_Int("LSPDLeader", FacInfo[1][facLeader]);
    INI_Int("LSPDMembers", FacInfo[1][facMembers]);
    INI_Int("Rank0", FacInfo[1][fRank0]);
    INI_Int("Rank1", FacInfo[1][fRank1]);
    INI_Int("Rank2", FacInfo[1][fRank2]);
    INI_Int("Rank3", FacInfo[1][fRank3]);
    INI_Int("Rank4", FacInfo[1][fRank4]);
    INI_Int("Rank5", FacInfo[1][fRank5]);
    INI_Int("Rank6", FacInfo[1][fRank6]);
    INI_Int("Rank7", FacInfo[1][fRank7]);
    INI_Int("Rank8", FacInfo[1][fRank8]);
    INI_Int("Rank9", FacInfo[1][fRank9]);
    INI_Int("Rank10", FacInfo[1][fRank10]);
    INI_Int("Div1", FacInfo[1][fDiv1]);
    INI_Int("Div2", FacInfo[1][fDiv2]);
    INI_Int("Div3", FacInfo[1][fDiv3]);
    INI_Int("Div4", FacInfo[1][fDiv4]);
    return 1;
}
And here the OnGameModeInIt where the while needs to be loaded but it doesn't
pawn Код:
public OnGameModeInIt()
{
    INI_ParseFile("factions/lspd.INI", "load_factions", .bExtra = false);
    return 1;
}
Reply


Messages In This Thread
y_ini not loading file. - by Facerafter - 07.06.2013, 10:30
Re: y_ini not loading file. - by gtakillerIV - 07.06.2013, 12:44
Re: y_ini not loading file. - by Tingesport - 07.06.2013, 12:50
Re: y_ini not loading file. - by Facerafter - 07.06.2013, 13:07
Re: y_ini not loading file. - by Facerafter - 07.06.2013, 17:55
Re: y_ini not loading file. - by gtakillerIV - 07.06.2013, 19:18
Re: y_ini not loading file. - by Facerafter - 07.06.2013, 23:40
Re: y_ini not loading file. - by Facerafter - 08.06.2013, 19:25

Forum Jump:


Users browsing this thread: 3 Guest(s)