04.08.2014, 19:24
Yea, you have many tutorials about Y_INI/YSI basicly.
There is Masters includes and partly includes as timers, yini etc.
For yini only, you can do like this
Top:
Writing:
Aswell use INI_WriteInt,INI_WriteFloat.
For load use
Just INI_String,INI_Int,INI_Flaot.
There is Masters includes and partly includes as timers, yini etc.
For yini only, you can do like this
Top:
pawn Код:
#include <YSI\y_ini>
pawn Код:
stock SaveSomething()
{
new INI:myfile = INI_Open(TheSaveFile());
INI_SetTag(myfile, "Data");
INI_WriteString(myfile, "Something", var/enum);
INI_Close(myfile);
return true;
}
For load use
Just INI_String,INI_Int,INI_Flaot.