Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local firepos = {x=1150, y=987, z=3, stackpos=1}
- function onUse(cid, item, fromPos, item2, toPos)
- if item.itemid == 1945 then
- doRemoveItem(getThingfromPos(firepos).uid)
- addEvent(f, 1*60*1000)
- else
- doCreateItem(1487, 1, firepos)
- doTransformItem(item.uid, 1946)
- end
- local f = function()
- if item.itemid == 1946 then
- doTransformItem(item.uid, 1945)
- doCreateItem(1487, 1, firepos)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement