Loading Issues - Y_INI
#3

Quote:
Originally Posted by Kenway
Посмотреть сообщение
The problem is with login..
Код:
LoadStatios()
{
    for(new idx; idx < sizeof(XMRInfo); idx++)
	{
    	new gFile[64];
     	format(gFile, sizeof(gFile), "Stations/%d.ini" ,idx);
     	if(fexist(gFile))
     	{
            INI_ParseFile(gFile, "OnLoadStation_%s", .bExtra = true, .extra = idx);
      	}
    }
    return 1;
}

forward OnLoadStation_id(idx,name[],value[]);
public OnLoadStation_id(idx,name[],value[])
{
       INI_String("XMName", XMRInfo[idx[XMName], MAX_PLAYER_NAME);
       INI_String("XMStation", XMRInfo[idx][XMStation], 96);
       return 1;
}
Do SetTag with "id' not "Station Data"
Login? What are you on about?
Reply


Messages In This Thread
Loading Issues - Y_INI - by shocktheripper - 19.06.2015, 00:09
Re: Loading Issues - Y_INI - by Kenway - 19.06.2015, 00:18
Re: Loading Issues - Y_INI - by shocktheripper - 19.06.2015, 00:34
Re: Loading Issues - Y_INI - by shocktheripper - 19.06.2015, 22:40
Re: Loading Issues - Y_INI - by Emmet_ - 19.06.2015, 23:22
Re: Loading Issues - Y_INI - by shocktheripper - 20.06.2015, 10:48

Forum Jump:


Users browsing this thread: 3 Guest(s)