function onUse(cid, item, fromPosition, itemEx, toPosition)
if(item.actionid == 4830) then
doTeleportThing(getThingfromPos({x=32991,y=31539,z=1}).uid, {x=32991,y=31539,z=4})
elseif (item.actionid == 4831) then
doTeleportThing(getThingfromPos({x=32991,y=31539,z=4}).uid, {x=32991,y=31539,z=1})
elseif (item.actionid == 4832) then
doTeleportThing(getThingfromPos({x=32993,y=31547,z=4}).uid, {x=33061,y=31527,z=10})
elseif (item.actionid == 4833) then
doTeleportThing(getThingfromPos({x=33061,y=31527,z=10}).uid, {x=32993,y=31547,z=4})
end
return true
end
[09/05/2010 16:26:38] [Error - Action Interface]
[09/05/2010 16:26:38] data/actions/scripts/zzaion/lever.luanUse
[09/05/2010 16:26:38] Description:
[09/05/2010 16:26:38] (luaDoTeleportThing) Thing not found
Help