Author Topic: Can someone tell me!?  (Read 2109 times)

0 Members and 1 Guest are viewing this topic.

Offline Fuzzy168

  • VC:MP Veteran
  • *****
  • Posts: 729
  • Programming since 2011
    • View Profile
Can someone tell me!?
« 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
I'm beginning to feel like a Lag God, Lag God

yazeen

  • Guest
Re: Can someone tell me!?
« Reply #1 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]
« Last Edit: November 06, 2011, 07:25:06 am by yazeen »