It's simple script but seems not for me ;/..
Error:
Script...:
Can someone rewrite this movement ? I don't know why i see this error i have fence on correct pos and it's correct id... I checked that 100 times.
Error:
Code:
[Error - MoveEvents Interface]
[08/01/2011 01:00:32] data/movements/scripts/greatquest/bars.lua:onStepIn
[08/01/2011 01:00:32] Description:
[08/01/2011 01:00:32] (luaDoRemoveItem) Item not found
Script...:
Code:
function onStepIn(cid, item, pos)
local bars_pos = {x=1001, y=1243, z=13}
if item.uid == 2000 and isPlayer(cid) == TRUE then
doRemoveItem(1547,bars_pos)
end
return true
end
function onStepOut(cid, item, pos)
local bars_pos = {x=1001, y=1243, z=13}
if item.uid == 2000 and isPlayer(cid) == TRUE then
doCreateItem(1547,bars_pos)
end
return true
end
Can someone rewrite this movement ? I don't know why i see this error i have fence on correct pos and it's correct id... I checked that 100 times.