Hiho ...
the lever's not work
error in console:
[19/01/2010 22:28:12] [Error - Action Interface]
[19/01/2010 22:28:12] data/actions/scripts/zaolever.lua:-OnUse
[19/01/2010 22:28:12] Description:
[19/01/2010 22:28:12] (luaDoTeleportThing) Thing not found
Script:
sorry to be asking a lot of help but, is why I'm packing the new city
Thanks !! eace:
the lever's not work
error in console:
[19/01/2010 22:28:12] [Error - Action Interface]
[19/01/2010 22:28:12] data/actions/scripts/zaolever.lua:-OnUse
[19/01/2010 22:28:12] Description:
[19/01/2010 22:28:12] (luaDoTeleportThing) Thing not found
Script:
Code:
function onUse(cid, item, fromPosition, itemEx, toPosition)
if(item.actionid == 4830) then
doTeleportThing(getTopCreature({x=32991,y=31539,z=1}).uid, {x=32991,y=31539,z=4})
elseif (item.actionid == 4831) then
doTeleportThing(getTopCreature({x=32991,y=31539,z=4}).uid, {x=32991,y=31539,z=1})
elseif (item.actionid == 4832) then
doTeleportThing(getTopCreature({x=32993,y=31547,z=4}).uid, {x=33061,y=31527,z=10})
elseif (item.actionid == 4833) then
doTeleportThing(getTopCreature({x=33061,y=31527,z=10}).uid, {x=32993,y=31547,z=4})
end
return true
end
sorry to be asking a lot of help but, is why I'm packing the new city
Thanks !! eace: