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

Lua bridge

tim26

Member
Joined
Aug 12, 2008
Messages
618
Reaction score
11
Location
Poland
i want make bridge on 1 sqm something like on real rook on rl tibia when you enter on rats when you put on swith then brisge hide and create water and 2 swith turn on you know how ^^ whos can help?;/

and 2 problem in config i have 2 lines

premiumForPromotion = "yes"
removePremiumOnInit = "yes"

what does it mean? because all dont lose exp when have promotion maybe i should confugure its diferent?
 
Last edited:
i have that script and i cant use swith;/

function onUse(cid, item, frompos, item2, topos)
gatepos = {x=32100, y=32205, z=8, stackpos=0}
gate2pos = {x=32101, y=32205, z=8, stackpos=0}
gate3pos = {x=32099, y=32205, z=8, stackpos=0}
getgate = getThingfromPos(gatepos)
getgate2 = getThingfromPos(gate2pos)
getgate3 = getThingfromPos(gate3pos)
if item.uid == 23333 and item.uid == 24444 and item.itemid == 1945 and getgate.itemid == 1284 and getgate2.itemid == 1284 and getgate3.itemid == 1284 then
doRemoveItem(getgate.uid,1)
doRemoveItem(getgate2.uid,1)
doRemoveItem(getgate3.uid,1)
doTransformItem(item.uid,item.itemid+1)
elseif item.uid == 23333 and item.uid == 24444 and item.itemid == 1946 and getgate.itemid == 0 and getgate2.itemid == 0 and getgate3.itemid == 0 then
doCreateItem(1284,1,gatepos)
doCreateItem(1284,1,gate2pos)
doCreateItem(1284,1,gate3pos)
doTransformItem(item.uid,item.itemid-1)

else
doPlayerSendCancel(cid,"Sorry not possible.")
end
return 1
end


this 2 uniqueds is 1 swith and 2 swith ;/
 
Back
Top