local wallpos = {x=784,y=1007,z=7}
local wallid = 1304
function createWall()
doCreateItem(wallid, wallpos)
end
function onUse(cid, item, fromPosition, itemEx, toPosition)
if item.uid == 6754 then
if item.itemid == 1945 then
addEvent(createWall, 3000)
doTransformItem(item.uid, 1946)
elseif item.itemid == 1946 then
doTransformItem(item.uid, 1945)
end
end
return TRUE
end