SA-MP Forums Archive
What is "INI_ParseFile"? - 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: What is "INI_ParseFile"? (/showthread.php?tid=345477)



What is "INI_ParseFile"? - Verbal - 25.05.2012

Hi.
I'm working on a GM that will work on y_ini.
I didn't understand what is "INI_ParseFile" (I'm new in y_ini).
I'll be very happy for an explanation about it .
Thanks!


Re: What is "INI_ParseFile"? - JaTochNietDan - 25.05.2012

There is a full explanation of INI_ParseFile in this official Y_Ini tutorial by ******.

https://sampforum.blast.hk/showthread.php?pid=1138420#pid1138420


Re: What is "INI_ParseFile"? - Verbal - 25.05.2012

Yeah, I read it and didn't understand :\


Re: What is "INI_ParseFile"? - Verbal - 25.05.2012

Hmm, okay I started reading from the beginning, and I didn't understand this part:
pawn Код:
INI:mine[examples](name[], value[])
{
}

main()
{
    INI_Load("mine.INI");
}
What is the INI:mine[examples]..
It's like a function or what?
Sorry I'm just used to dini XD.
Thanks.
UPD: I think I might start getting it . the [examples] should be a tag, but it could also be like mine_examples and not [examples]?


Re: What is "INI_ParseFile"? - Verbal - 25.05.2012

Thanks, I think I got it all . I really appreciate your help. I personally think you're a great programmer.
Last thing, can I use INI_ParseFile on functions without tags?