Frikx
Computer Science
Code:
local pos =
{
{x=1000, y=1000, z=7},
{x=1000, y=999, z=7}
}
function onStepIn(cid, item, position, fromPosition)
local delay = 0
for i = 1, #pos do
addEvent(doRemoveItem, delay, getTileItemById({x=pos[i].x, y=pos[i].y, z=pos[i].z, stackpos=0}, 405).uid)
delay = delay + 1000
end
return true
end
Code:
[28/7/2015 21:50:51] [Error - MoveEvents Interface]
[28/7/2015 21:50:51] In a timer event called from:
[28/7/2015 21:50:51] data/movements/scripts/script_suimty.lua:onStepIn
[28/7/2015 21:50:51] Description:
[28/7/2015 21:50:51] (LuaInterface::luaDoRemoveItem) Item not found