• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Help Pits of Inferno Bazir Mirror

brunosteve

New Member
Joined
Dec 25, 2010
Messages
13
Reaction score
0
Location
Brazil
Hello, I have a problem in my Pits of Hell in exchange for Bazir when it opens click on the tapestry, alas when I click on a mirror so he will teleport to the throne room, there's not already to anyone clicks the tapestry he runs out action. and does not work're doing anything and that the players get stuck in the tapestry room. could someone help me?

My Script
Lua:
function onUse(cid, item, frompos, item2, topos)

local LustroPos = { x=32739, y=32392, z=14, stackpos=2}
local TapestryPos = { x=32739, y=32393, z=14, stackpos=2}
local tpPos = {x=32712, y=32392, z=13}
local getItem4 = getThingFromPos(tpPos)
local getItem2 = getThingFromPos(LustroPos)
local getItem3 = getThingFromPos(TapestryPos)
local stoneId = 1847

                if getItem2.itemid == stoneId then
				doTeleportThing(cid, tpPos)
				doSendMagicEffect(getCreaturePosition(cid),10)
				doRemoveItem(getItem3.uid,1)
				local ek = doCreateItem(6434,1,LustroPos)
					doSetItemActionId(ek, 39512)
                        end
        end

Console Erro:

erroor.jpg
 
Back
Top