13.12.2011, 21:55
Hello, how I read a value from a simple file using Y_Ini? I tried this:
Does it work? Or... what is the correct way?
pawn Код:
new sLastVal;
new INI:sCELLUS = INI_Open("Stats.ini");
INI_Int("Cellus", sLastVal);
INI_Close(sCELLUS);
printf("Value: %d", sLastVal);