25.03.2013, 19:39
Here's an example of writing data to an INI file with y_ini:
So as you can see, you're basically doing the following:
opening the file
writing a string
writing an integer
closing the file
pawn Код:
new INI:ini = INI_Open("myini.ini");
INI_SetTag(ini, "LVDM");
INI_WriteString(ini, "NAME", "******");
INI_WriteInt(ini, "SCORE", gScore);
INI_Close(ini);
opening the file
writing a string
writing an integer
closing the file