Entrances not loading
#1

Well this is my first time doing a dynamic system based on y_ini so yeah it works all fine except on loading it doesn't load for some reasons, it saves perfectly but doesn't load here's my loading callback.

Код:
public loadent_data(idx, name[], value[])
{
    INI_String("eLabel",Label[idx][eLabel], 128);
    INI_Int("eColor",Label[idx][eLabel]);
    INI_Float("eX",Label[idx][eX]);
    INI_Float("eY",Label[idx][eY]);
    INI_Float("eZ",Label[idx][eZ]);
    INI_Float("eXin",Label[idx][eXin]);
    INI_Float("eYin",Label[idx][eYin]);
    INI_Float("eZin",Label[idx][eZin]);
    INI_Int("eVWout",Label[idx][eVWout]);
    INI_Int("eIntout",Label[idx][eIntout]);
    INI_Int("eVWin",Label[idx][eVWin]);
    INI_Int("eIntin",Label[idx][eIntin]);
    return 1;
}
Also this.
Код:
    for(new idx = 1; idx < sizeof(Label); idx++)
    {
        format(string, sizeof(str), EPATH, idx);
        INI_ParseFile(string, "loadent_%s", .bExtra = true, .extra = idx );
		Create3DTextLabel(Label[idx][eLabel],Label[idx][eColor],Label[idx][eX],Label[idx][eY],Label[idx][eZ],20.0,Label[idx][eVWout],1);
    }
What is wrong with that? thank you.
Reply


Messages In This Thread
Entrances not loading - by DaniceMcHarley - 21.02.2014, 19:21
Re: Entrances not loading - by TonyII - 21.02.2014, 19:29
Re: Entrances not loading - by DaniceMcHarley - 21.02.2014, 19:33
Re: Entrances not loading - by TonyII - 21.02.2014, 19:44
Re: Entrances not loading - by Dignity - 21.02.2014, 19:51
Re: Entrances not loading - by TonyII - 21.02.2014, 19:54
Re: Entrances not loading - by DaniceMcHarley - 22.02.2014, 09:02
Re: Entrances not loading - by DaniceMcHarley - 22.02.2014, 16:12
Re: Entrances not loading - by Abagail - 22.02.2014, 16:14
Re: Entrances not loading - by DaniceMcHarley - 22.02.2014, 16:17

Forum Jump:


Users browsing this thread: 2 Guest(s)