LucasFerraz
Systems Analyst
I made this:
The problem is: wall are not being removed S:
LUA:
local function removal(p)
doRemoveItem(1304,1,{x=434, y=1326, z=10})
end
function onStepIn(cid, item, frompos, item2, topos)
wall1 = {x=434, y=1326, z=10, stackpos=1}
getwall1 = getThingfromPos(wall1)
if item.uid == 10257 and getwall1.itemid == 1304 then
doCreateItem(1304,1,wall1)
p = {wall1id = getwall1.itemid}
addEvent(removal, 10*1000, p)
end
end
The problem is: wall are not being removed S: