Cannot modify .ini file
#1
Hi!
I wanted to have a .ini file that will controll my fraction-like plugin
but i cant add a new key to the ini file, while my code seems ok.
I can read a value from a key, but cannot add a key or value.
Actual code is:
Code:
local IniFile = cIniFile();
if (IniFile:ReadFile("fractionlist.ini")) then
    key= IniFile:AddKeyName("hi")
    IniFile:AddValue(IniFile:GetKeyName(key), "Value1", "32")
end
Reply
Thanks given by:


Messages In This Thread
Cannot modify .ini file - by KaRoLak - 08-26-2015, 10:45 PM
RE: Cannot modify .ini file - by NiLSPACE - 08-26-2015, 10:54 PM
RE: Cannot modify .ini file - by xoft - 08-27-2015, 01:29 AM



Users browsing this thread: 1 Guest(s)