bleeblahblork
New Member
- Joined
- Aug 12, 2009
- Messages
- 117
- Reaction score
- 0
What should be added to make the gate reappear after 60seconds?
FIXED.
function onUse(cid, item, frompos, item2, topos)
gatepos = {x=83, y=213, z=9, stackpos=1}
getgate = getThingfromPos(gatepos)
if item.uid == 20004 and item.itemid == 1945 and getgate.itemid == 9596 then
doRemoveItem(getgate.uid,1)
doTransformItem(item.uid,item.itemid+1)
elseif item.uid == 20004 and item.itemid == 1946 and getgate.itemid == 0 then
doCreateItem(9596,1,gatepos)
doTransformItem(item.uid,item.itemid-1)
else
doPlayerSendCancel(cid,"Sorry not possible.")
end
return 1
end
FIXED.
Last edited: