Code:
local e = 0
function onUse(cid, item, frompos, item2, topos)
if item.itemid == 1945 then
doRemoveItem(getTileItemById({x=747, y=1043, z=7}, 1353).uid)
e = addEvent(doCreateItem, 60000, 1353, 1, {x=747, y=1043, z=7})
else
stopEvent(e)
e = 0
doCreateItem(1353, 1, {x=747, y=1043, z=7})
end
return 1, doTransformItem(item.uid, item.itemid == 1945 and 1946 or 1945)
end
i want a monster to come infront of the stone that you need to kill fast before the stone gets back. and if you fail and want to drag the switch again you need to wait X seconds.
Possible ?
Last edited: