• 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!

Windows Help me please :) +++rep

Tyronel

New Member
Joined
Feb 28, 2010
Messages
116
Reaction score
0
Hello u know the poi stone with 3 hellfire fighters? and the switch, well stone doesnt remove when u pull switch can u help please?
 
Thats the thing, i dont know what script to add/edit/post, because i cant find it, all i know is there is a stone when you go to poi with a ladder behind it, and a lever on other side of room, the stone doesnt get removed, hell fire fighters in same room as the stone, any tibia player will know what im saying.
 
I'm not sure but i think that it's this one, try it...
Code:
function onUse(cid, item, frompos, item2, topos)
local getgate = getThingfromPos({x=456, y=1334, z=9, stackpos=1})

if item.uid == 10255 and item.itemid == 1945 and getgate.itemid == 1304 then
doRemoveItem(getgate.uid,1)
doTransformItem(item.uid,item.itemid+1)
elseif item.uid == 10255 and item.itemid == 1946 and getgate.itemid == 0 then
doCreateItem(1304,1,{x=456, y=1334, z=9, stackpos=1})
doTransformItem(item.uid,item.itemid-1)
else
doPlayerSendCancel(cid,"Sorry not possible.")
end
  return 1
  end
 
Back
Top