SA-MP Forums Archive
Y_INI Somebody explain me! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Y_INI Somebody explain me! (/showthread.php?tid=345125)



Y_INI Somebody explain me! - roleplay500 - 23.05.2012

Somebody can explain me the format of the forward & public of INI_ParseFile?

What every word mean?

example:

public LoadUser_%s_%s...

What the 'LoadUser's role? Why its random in every Tutorial?


Re: Y_INI Somebody explain me! - Pizzy - 23.05.2012

I think it's a custom function, people rename it to what they want.


Re: Y_INI Somebody explain me! - roleplay500 - 24.05.2012

Are you sure?


Re: Y_INI Somebody explain me! - roleplay500 - 24.05.2012

Thank you ******


Re: Y_INI Somebody explain me! - roleplay500 - 24.05.2012

I have more question,

How load a single tag?

Cuz when i'm doing like this, its should load all the publics / tags, how to choose the wanted tag?
INI_ParseFile(fname, "MyCallback_%s", ...);

Also, what if the callback return false / 0? what if it return 1?

And, How to write to a wanted tag? SetTag set the writing to choosen tag?


Re: Y_INI Somebody explain me! - roleplay500 - 24.05.2012

I need all the tags, but not at once.
If i'll use ParseFile it will load all the exist callbacks as i understood.


Re: Y_INI Somebody explain me! - roleplay500 - 24.05.2012

Ohh thanks