Code:
local UIDS = {5254,5255,5256,5257}
local FIRE_POSITIONS = {
{x = X, y = Y, z = Z, stackpos = 255},
{x = X, y = Y, z = Z, stackpos = 255},
{x = X, y = Y, z = Z, stackpos = 255},
{x = X, y = Y, z = Z, stackpos = 255}
}
local FIRE_ID = 5062
local THING, INFO, POS
local TIME = 5
function onUse(cid, item, frompos, item2, topos)
if item.itemid == 1945 then
local LEVER_POS = getThingPos(item.uid)
doTransformItem(item.uid, 1946, 1)
doRemoveItem(THING,uid, 1)
elseif item.itemid == 1946 then
local LEVER_POS = getThingPos(item.uid)
doTransformItem(item.uid, 1945, 1)
end
return 1
end
Well ive tried some scripting and I want to know if that would work
if you pull a lever a stone disappears (better say a wall)
I mean if you pull the first lever , the first wall disappears and not like if you pull one lever all stones disappear