Seriously, I've tryied everything and it's not Working 
Here's next video which proves it.
YouTube - -.-
Script:

Here's next video which proves it.
YouTube - -.-
Script:

Lua Script Error: [Action Interface]
data/actions/scripts/bridgelever.lua: onUse
luaDoRemoveItem<>. Item not Found
function onUse(cid, item, frompos, item2, topos)
tile1 = {x=3008, y=3037, z=7, stackpos=1} --change tilepos
tile2 = {x=3009, y=3037, z=7, stackpos=1} --change tilepos
tile3 = {x=3009, y=3038, z=7, stackpos=1} --change tilepos
tile4 = {x=3008, y=3038, z=7, stackpos=1} --change tilepos
tile5 = {x=3008, y=3039, z=7, stackpos=1} --change tilepos
tile6 = {x=3009, y=3039, z=7, stackpos=1} --change tilepos
gettile1 = getThingfromPos(tile1)
gettile2 = getThingfromPos(tile2)
gettile3 = getThingfromPos(tile3)
gettile4 = getThingfromPos(tile4)
gettile5 = getThingfromPos(tile5)
gettile6 = getThingfromPos(tile6)
if item.uid == 7007 and item.itemid == 1945 then
doCreateItem(4634,1,tile1)
doCreateItem(4634,1,tile2)
doCreateItem(4610,1,tile3)
doCreateItem(4610,1,tile4)
doCreateItem(4610,1,tile5)
doCreateItem(4610,1,tile6)
doTransformItem(item.uid,item.itemid+1)
elseif item.uid == 7007 and item.itemid == 1946 then
doCreateItem(1284,1,tile1)
doCreateItem(1284,1,tile2)
doCreateItem(1284,1,tile3)
doCreateItem(1284,1,tile4)
doCreateItem(1284,1,tile5)
doCreateItem(1284,1,tile6)
doTransformItem(item.uid,item.itemid-1)
else
doPlayerSendCancel(cid,"Sorry, not possible.")
end
return 1
end
try making it without the
doRemoveItem(gettile1.uid,1)
lines i did and now it works my script look liek this:
i have it with 2 switches just like you and have no problemsCode:function onUse(cid, item, frompos, item2, topos) tile1 = {x=3008, y=3037, z=7, stackpos=1} --change tilepos tile2 = {x=3009, y=3037, z=7, stackpos=1} --change tilepos tile3 = {x=3009, y=3038, z=7, stackpos=1} --change tilepos tile4 = {x=3008, y=3038, z=7, stackpos=1} --change tilepos tile5 = {x=3008, y=3039, z=7, stackpos=1} --change tilepos tile6 = {x=3009, y=3039, z=7, stackpos=1} --change tilepos gettile1 = getThingfromPos(tile1) gettile2 = getThingfromPos(tile2) gettile3 = getThingfromPos(tile3) gettile4 = getThingfromPos(tile4) gettile5 = getThingfromPos(tile5) gettile6 = getThingfromPos(tile6) if item.uid == 7007 and item.itemid == 1945 then doCreateItem(4634,1,tile1) doCreateItem(4634,1,tile2) doCreateItem(4610,1,tile3) doCreateItem(4610,1,tile4) doCreateItem(4610,1,tile5) doCreateItem(4610,1,tile6) doTransformItem(item.uid,item.itemid+1) elseif item.uid == 7007 and item.itemid == 1946 then doCreateItem(1284,1,tile1) doCreateItem(1284,1,tile2) doCreateItem(1284,1,tile3) doCreateItem(1284,1,tile4) doCreateItem(1284,1,tile5) doCreateItem(1284,1,tile6) doTransformItem(item.uid,item.itemid-1) else doPlayerSendCancel(cid,"Sorry, not possible.") end return 1 end
![]()
so fix it and show us![]()