05.08.2014, 18:20
hey it's my first time using Y_ini, so I tried the first example found in the Y_ini tutorial and suprisingly when I compile the compiler stops working (..has stopped working" message)
which I found here
https://sampforum.blast.hk/showthread.php?pid=1138420#pid1138420
I also tried to write my own y_ini code myself but I got the same problem
pawn Код:
new
// The name of the file, can be any string variable or literal.
fileToWrite[] = "mine.INI",
// "INI_Open" returns a variable with tag "INI".
INI:iniFile = INI_Open(fileToWrite);
//
// y_ini supports tags, that is:
//
// [tag]
// key = value
//
INI_SetTag(iniFile, "examples");
// Write an integer value with the key "some_integer" under the current tag:
INI_WriteInt(iniFile, "some_integer", 42);
// Now close the current file:
INI_Close(iniFile);
https://sampforum.blast.hk/showthread.php?pid=1138420#pid1138420
I also tried to write my own y_ini code myself but I got the same problem