headache
#2
Is Player's name suppose to be a number? Also you don't want to check for data == true. That simply doesn't work. You want to make sure it isn't null or nil by:

Code:
if (not data) then
for easier readability:
Code:
if (data) then
               Server:SendMessage("data: "..iniFile:GetValue(Player:GetName(),"data"), Player)
            else
                Server:SendMessage("Can't retrieve data",Player)
            end

In reality checking for true is like making something check if it is equal to one.
Reply
Thanks given by:


Messages In This Thread
headache - by Tim - 03-05-2011, 06:29 AM
RE: headache - by Revolucas - 03-05-2011, 06:54 AM
RE: headache - by Tim - 03-05-2011, 07:13 AM
RE: headache - by FakeTruth - 03-05-2011, 07:43 AM
RE: headache - by Tim - 03-05-2011, 08:29 AM



Users browsing this thread: 1 Guest(s)