I'm trying to make a lever which will open and close doors [adding actionID and uniqueID at the same time]
Take a look at my script
function onUse(cid, item, frompos, item2, topos)
local wallpos = {x=1053, y=995, z=7, stackpos=1}
local wall = getThingfromPos(wallpos)
if...