Y_ini
#3

You didn't put the functions (INI_Open, INI_SetTag...) under any callback... Of course it'd crash.
pawn Код:
new INI:iniFile;

public OnGameModeInit()
{
    iniFile = INI_Open("mine.INI");
    INI_SetTag(iniFile, "examples");
    INI_WriteInt(iniFile, "some_integer", 30);
    INI_Close(iniFile);
    return 1;
}
That should work.
Reply


Messages In This Thread
Y_ini - by Sarra - 05.08.2014, 18:20
Re: Y_ini - by Champ - 05.08.2014, 19:01
Re: Y_ini - by [XST]O_x - 05.08.2014, 19:05
Re: Y_ini - by Sarra - 05.08.2014, 19:09
Re: Y_ini - by [XST]O_x - 05.08.2014, 19:16
Re: Y_ini - by Sarra - 05.08.2014, 19:21

Forum Jump:


Users browsing this thread: 1 Guest(s)