function onUse(cid, item, fromPosition, itemEx, toPosition)
local p = {x=1,y=1,z=1} -- where to tp to
doTeleportThing(cid,p)
doSendMagicEffect(p,10)
return true
end
unknown666:
This script don't happened...
Everybody look this thread..
http://otland.net/f16/ladder-85034/
function onUse(cid, item, fromPosition, itemEx, toPosition)
local newPos = {x=1000, y=1000, z=7}
doTeleportThing(cid, newPos)
doSendMagicEffect(getCreaturePosition(cid), CONST_ME_HEARTS)
return true
end
take this
Code:function onUse(cid, item, fromPosition, itemEx, toPosition) local newPos = {x=1000, y=1000, z=7} doTeleportThing(cid, newPos) doSendMagicEffect(getCreaturePosition(cid), CONST_ME_HEARTS) return true end