Its not working for me.. the switch moves back and forth and doesnt remove wall.
local pos, e = {x=1689, y=1091, z=9}, 0
local f = function(p)
doCreateItem(1049, 1, pos)
doTransformItem(getTileItemById(p, 1946).uid, 1945)
end
function onUse(cid, item, fromPosition, itemEx, toPosition)
if...