snipermike13
/\/\1k3
[08/06/2010 08:30:10] [Error - CreatureScript Interface]
[08/06/2010 08:30:10] data/creaturescripts/scripts/rep/repLook.luanLook
[08/06/2010 08:30:10] Description:
[08/06/2010 08:30:10] data/lib/004-database.lua:60: [Result:getDataInt] Result not set!
[08/06/2010 08:30:10] stack traceback:
[08/06/2010 08:30:10] [C]: in function 'error'
[08/06/2010 08:30:10] data/lib/004-database.lua:60: in function 'getDataInt'
[08/06/2010 08:30:10] data/lib/050-function.lua:22: in function 'getRepPoints'
[08/06/2010 08:30:10] data/creaturescripts/scripts/rep/repLook.lua:4: in function <data/creaturescripts/scripts/rep/repLook.lua:1>
Rep+ for help!
function onLook(cid, thing, position, lookDistance)
if(isPlayer(thing.uid) == true) then
if(thing.uid == cid) then
doPlayerSendTextMessage(cid, 20, "You are "..getRepRank(getRepPoints(cid)).."")
else
doPlayerSendTextMessage(cid, 20, ""..getCreatureName(thing.uid).." is "..getRepRank(getRepPoints(thing.uid)).."")
end
return true
end
return true
end
[08/06/2010 08:30:10] data/creaturescripts/scripts/rep/repLook.luanLook
[08/06/2010 08:30:10] Description:
[08/06/2010 08:30:10] data/lib/004-database.lua:60: [Result:getDataInt] Result not set!
[08/06/2010 08:30:10] stack traceback:
[08/06/2010 08:30:10] [C]: in function 'error'
[08/06/2010 08:30:10] data/lib/004-database.lua:60: in function 'getDataInt'
[08/06/2010 08:30:10] data/lib/050-function.lua:22: in function 'getRepPoints'
[08/06/2010 08:30:10] data/creaturescripts/scripts/rep/repLook.lua:4: in function <data/creaturescripts/scripts/rep/repLook.lua:1>
Rep+ for help!
function onLook(cid, thing, position, lookDistance)
if(isPlayer(thing.uid) == true) then
if(thing.uid == cid) then
doPlayerSendTextMessage(cid, 20, "You are "..getRepRank(getRepPoints(cid)).."")
else
doPlayerSendTextMessage(cid, 20, ""..getCreatureName(thing.uid).." is "..getRepRank(getRepPoints(thing.uid)).."")
end
return true
end
return true
end
Last edited: