13.12.2011, 22:51
I didn't understand the "[examples"] or "[more_examples"]... are they sessions or "classes" of a specific file? Can I use the code below, for example?
EDIT: and if my file doesn't have "sessions"? If I did not create ... ?
Thank you very much
pawn Код:
new sValue;
main()
{
INI_Load("Stats.ini");
}
INI:Stats[ServerStats](name[], value[])
{
INI_Int("sCELLUS", sValue);
}
// Debug
printf("Value of var: %d", sValue);
EDIT: and if my file doesn't have "sessions"? If I did not create ... ?
Thank you very much