local item = XXX -- item id of item used as key.
local location = {x=111, y=111, z=1} -- location of where to be moved upon using the door
function onUse(cid, item, frompos, item2, topos)
if getPlayerItemCount(cid,item) >= 1 then
doTeleportThing(cid, location)
else
doPlayerSendCancel(cid, "You are required to have a key to access this door!")
end
end
local item = 2304 -- item id of item used as key.
local location = {x=198, y=477, z=7} -- location of where to be moved upon using the door
function onUse(cid, item, frompos, item2, topos)
if getPlayerItemCount(cid,item) >= 1 then
doTeleportThing(cid, location)
else
doPlayerSendCancel(cid, "You are required to have the fire rune of fire master to open this door!")
end
end
<action uniqueid="32000" script="Other/firerunedoor.lua"/>
and when i try the rune on the door. it just say not possible?You are required to have the fire rune of fire master to open this door!