Elda Swok
Searching New Project
Any1 have a script for the yalahar mechanisms? So that you use it and get tped to the other side?
local t = {
[uniqueID1] = {x=100, y=100, z=7},
[uniqueID2] = {x=100, y=100, z=7},
[uniqueID3] = {x=100, y=100, z=7},
[uniqueID4] = {x=100, y=100, z=7},
[uniqueID5] = {x=100, y=100, z=7},
}
function onUse(cid, item, fromPosition, itemEx, toPosition)
local tmp = getThingPos(cid)
doTeleportThing(cid, t[item.uid])
doSendMagicEffect(tmp, CONST_ME_TELEPORT)
doSendMagicEffect(t[item.uid], CONST_ME_TELEPORT)
return true
end