Witam,
Mam problem z POI a dokładnie wyskakuje mi taki błąd:
Oto plik z błędem:
Czy byłby ktoś tak miły i mi pomógł ?
Pozdrawiam
Mam problem z POI a dokładnie wyskakuje mi taki błąd:
HTML:
[04/12/2009 15:28:36] Lua Script Error: [MoveEvents Interface]
[04/12/2009 15:28:36] data/movements/scripts/PitsOfInferno/MagicWallEntrance.lua:onStepIn
[04/12/2009 15:28:36] luaGetPlayerItemCount(). Player not found
[04/12/2009 15:28:36] Lua Script Error: [MoveEvents Interface]
[04/12/2009 15:28:36] data/movements/scripts/PitsOfInferno/MagicWallEntrance.lua:onStepIn
[04/12/2009 15:28:36] ...ovements/scripts/PitsOfInferno/MagicWallEntrance.lua:5: attempt to compare boolean with number
[04/12/2009 15:28:36] stack traceback:
[04/12/2009 15:28:36] ...ovements/scripts/PitsOfInferno/MagicWallEntrance.lua:5: in function <...ovements/scripts/PitsOfInferno/MagicWallEntrance.lua:1>
[04/12/2009 15:28:40] Lua Script Error: [MoveEvents Interface]
[04/12/2009 15:28:40] data/movements/scripts/PitsOfInferno/MagicWallEntrance.lua:onStepIn
[04/12/2009 15:28:40] luaGetPlayerItemCount(). Player not found
[04/12/2009 15:28:40] Lua Script Error: [MoveEvents Interface]
[04/12/2009 15:28:40] data/movements/scripts/PitsOfInferno/MagicWallEntrance.lua:onStepIn
[04/12/2009 15:28:40] ...ovements/scripts/PitsOfInferno/MagicWallEntrance.lua:5: attempt to compare boolean with number
[04/12/2009 15:28:40] stack traceback:
[04/12/2009 15:28:40] ...ovements/scripts/PitsOfInferno/MagicWallEntrance.lua:5: in function <...ovements/scripts/PitsOfInferno/MagicWallEntrance.lua:1>
[04/12/2009 15:28:48] Arth Enth has logged out.
Oto plik z błędem:
PHP:
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
Czy byłby ktoś tak miły i mi pomógł ?
Pozdrawiam