Vice City Multiplayer

VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: Fuzzy168 on November 05, 2011, 06:40:15 pm

Title: Can someone tell me!?
Post by: Fuzzy168 on November 05, 2011, 06:40:15 pm
I always get confuse with the Dini function names... Can someone tell me what it stand for? I will help alot
Title: Re: Can someone tell me!?
Post by: yazeen on November 06, 2011, 07:22:55 am
Open INI Files , Get stuff from INI , Add stuff to INI, etc...

[pawn]dini_Exist("/Fuzzy/Fuzzy.ini"); [/pawn]   to find if a file exist
[pawn]dini_Get("/Fuzzy/Fuzzy.ini", "Password"); [/pawn]   Scriptfiles>Fuzzy>Fuzzy.ini and find the line Password=fuzzy123
[pawn]dini_Remove("Fuzzy/Fuzzy.ini");[/pawn]   Removes the file Fuzzy.ini
[pawn]dini_Create("Fuzzy/FUZZZZZZ.ini);[/pawn] Creates the file FUZZZZZZ.ini

These are main function and there are many more but they are not important:

[pawn]dini_IntSet(filename[],key[],value);
dini_Int(filename[],key[]);
dini_FloatSet(filename[],key[],Float:value);
Float:dini_Float(filename[],key[]);
dini_Bool(filename[],key[]);
dini_BoolSet(filename[],key[],value);
dini_Unset(filename[],key[]);
dini_Get(filename[],key[]);
dini_Isset(filename[],key[]);
DINI_StripNewLine(string[]);
DINI_fcopytextfile(oldname[],newname[]);[/pawn]