Hi guys.
I'm trying to make a teleport spell for the target.
this is my function:
can someone help me compelte it?
Thanks in advance,
Jacob
I'm trying to make a teleport spell for the target.
this is my function:
Code:
local function onCastSpell2(parameters)
npos = ???
doTeleportThing(parameters.cid,npos)
doSendMagicEffect(npos, CONST_ME_TELEPORT)
end
can someone help me compelte it?
Thanks in advance,
Jacob