LucasFerraz
Systems Analyst
Why this script do not works? No bugs in console
PS.: It's a lever
PS.: It's a lever
LUA:
function onUse(cid, item, fromPosition, itemEx, toPosition, item2, topos)
if (item.actionid == 17000) and (getCreaturePosition(cid, {x=33061, y=31527, z=10})) then
doTeleportThing(cid, {x=32993,y=31547,z=4})
doSendMagicEffect(getPlayerPosition(cid), 10)
end
return false
end