healer007
New Member
Code:
local newpos = {x=98, y=117, z=7}
function onUse(cid, item, fromPosition, itemEx, toPosition)
if itemuid == 5009 then
doTeleportThing(cid, newpos)
doSendMagicEffect(pos, type12)
end
return TRUE
end
this is my script i know it looks bad cus im still learning =p
want it to work like this> use door from pos A and get teleported to pos B. Use door from pos B and get teleported to A simple.
havent tested the script yet but
this only work one way from A to B i want both ty