[20/12/2009 17:23:07] Lua Script Error: [MoveEvents Interface]
[20/12/2009 17:23:07] data/movements/scripts/PitsOfInferno/MagicWallEntrance.luanStepIn
[20/12/2009 17:23:07] ...ovements/scripts/PitsOfInferno/MagicWallEntrance.lua:5: attempt to compare boolean with number
[20/12/2009 17:23:07] stack traceback:
[20/12/2009 17:23:07] ...ovements/scripts/PitsOfInferno/MagicWallEntrance.lua:5: in function <...ovements/scripts/PitsOfInferno/MagicWallEntrance.lua:1>
[20/12/2009 17:23:11] Lua Script Error: [MoveEvents Interface]
[20/12/2009 17:23:11] data/movements/scripts/PitsOfInferno/MagicWallEntrance.luanStepIn
Getting this message, whats wrong?
Here is my Magicwallentace.lua
function onStepIn(cid, item, pos)
local position = {x=412, y=1414, z=9}
local position2 = {x=398, y=1380, z=9}
if (getPlayerItemCount(cid, 1970) < 1) then
doTeleportThing(cid, position)
doSendMagicEffect(position,10)
else
doTeleportThing(cid, position2)
doSendMagicEffect(position2,10)
end
end