03-05-2011, 06:54 AM
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:
for easier readability:
In reality checking for true is like making something check if it is equal to one.
Code:
if (not data) then
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.