Y_Ini - Can I do it?!
#2

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?

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
Reply


Messages In This Thread
Y_Ini - Can I do it?! - by SuperChock - 13.12.2011, 21:55
Re: Y_Ini - Can I do it?! - by SuperChock - 13.12.2011, 22:51
Re: Y_Ini - Can I do it?! - by SuperChock - 14.12.2011, 10:15
Re: Y_Ini - Can I do it?! - by SuperChock - 14.12.2011, 10:50
Re: Y_Ini - Can I do it?! - by SuperChock - 14.12.2011, 11:00

Forum Jump:


Users browsing this thread: 1 Guest(s)