Dini Problems
#5

Quote:
Originally Posted by ABKPot
Посмотреть сообщение
It automatically opens/closes/reads/& and writes to the file and the data is read/written directly from the/to the file you are trying to read/write when using the dini Functions, as coded in the DINI include.

pawn Код:
dini_IntSet("settings.ini", "Locked", 1); //This will write to the file "Locked="1" (Key=Value) | dini_IntSet(file, Key, Value)

new Locked; //We will use this to store the value from the file key.

Locked = dini_Int("settings.ini", "Locked"); //Read the value from the file and store it in the variable "Locked"

if(Locked == 1) printf("The key "Locked" in "settings.ini" was set to '1'");
Ok Thanks
Reply


Messages In This Thread
Dini Problems - by WhiteAngels - 08.07.2014, 01:24
Re: Dini Problems - by ABKPot - 08.07.2014, 02:16
Re: Dini Problems - by WhiteAngels - 08.07.2014, 02:32
Re: Dini Problems - by ABKPot - 08.07.2014, 02:53
Re: Dini Problems - by WhiteAngels - 08.07.2014, 02:56
Re: Dini Problems - by ABKPot - 08.07.2014, 02:58

Forum Jump:


Users browsing this thread: 2 Guest(s)