INI Files
#15
Got a little confused with the for stuff but if anyone else needs this code and is easily confused by a three letter word, i used the same concept with repeat Smile
Code:
local count = 1
                repeat
                        Server:SendMessage("")
                        Server:SendMessage("# keyname: " .. iniFile:GetKeyName(count), Player)
                        Server:SendMessage("* value2: " .. iniFile:GetValue(iteminiFile:GetKeyName(count), "value1"), Player)
                        Server:SendMessage("* value2: "..iniFile:GetValue(iteminiFile:GetKeyName(count), "value2"), Player)
                        count = count + 1
                until count == iteminiFile:GetNumKeys()
Reply
Thanks given by:


Messages In This Thread
INI Files - by Tim - 02-27-2011, 09:16 AM
RE: INI Files - by Tybor - 02-27-2011, 05:41 PM
RE: INI Files - by FakeTruth - 02-27-2011, 11:22 PM
RE: INI Files - by Tim - 02-28-2011, 01:18 AM
RE: INI Files - by FakeTruth - 02-28-2011, 03:13 AM
RE: INI Files - by codename_B - 02-28-2011, 06:46 AM
RE: INI Files - by Tybor - 02-28-2011, 06:50 AM
RE: INI Files - by Tim - 02-28-2011, 09:02 PM
RE: INI Files - by Tybor - 03-01-2011, 02:49 AM
RE: INI Files - by codename_B - 02-28-2011, 10:06 PM
RE: INI Files - by Tim - 03-07-2011, 12:04 AM
RE: INI Files - by Tybor - 03-07-2011, 03:37 AM
RE: INI Files - by FakeTruth - 03-07-2011, 02:03 AM
RE: INI Files - by Tim - 03-07-2011, 04:35 AM
RE: INI Files - by Tim - 03-07-2011, 06:48 AM



Users browsing this thread: 2 Guest(s)