Hello, im using a Reborn Mod and when im trying to reborn i just get this error;
Database.lua, Line 60;
This function makes the error;
I need help fast as possible, thanks.
Code:
[01/06/2011 23:07:29] [Error - TalkAction Interface]
[01/06/2011 23:07:29] buffer
[01/06/2011 23:07:29] Description:
[01/06/2011 23:07:29] data/lib/database.lua:60: [COLOR="red"][Result:getDataInt] Result not set![/COLOR]
Database.lua, Line 60;
Code:
function Result:getDataInt(s)
if(self:getID() == -1) then
[COLOR="red"]error("[Result:getDataInt] Result not set!")[/COLOR]
end
This function makes the error;
Code:
function getPlayerReborns(name)
return [COLOR="red"]db.getResult[/COLOR]("SELECT `reborns` FROM `players` WHERE `name` = "..db.escapeString(name)..""):getDataInt("reborns")
end
I need help fast as possible, thanks.