D
Deleted member 141899
Guest
function onUse(cid, item, fromPosition, itemEx, toPosition)
local player = Player(cid)
if(item.actionid == 7800) then
if player:getlevel() => 80 then
if(item.itemid == 1257) then
doTeleportThing(cid, toPosition, true)
doTransformItem(item.uid, 1258)
else
player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "The gate mechanism won't move. You probably have to find a way around until you figure out how to operate the gate.")
end
end
end
return true
end
Why dont work? the message dont apper and the door are sealed same for level 80+
local player = Player(cid)
if(item.actionid == 7800) then
if player:getlevel() => 80 then
if(item.itemid == 1257) then
doTeleportThing(cid, toPosition, true)
doTransformItem(item.uid, 1258)
else
player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "The gate mechanism won't move. You probably have to find a way around until you figure out how to operate the gate.")
end
end
end
return true
end
Why dont work? the message dont apper and the door are sealed same for level 80+