Powtreeman
Member
Can someone link a teleport scroll thread that can be used for tfs 1.0?
function onUse(cid, item, fromPosition, itemEx, toPosition)
if not getCreatureCondition(cid, CONDITION_INFIGHT) then
doTeleportThing(cid, getPlayerMasterPos(cid))
doSendMagicEffect(getThingPos(cid), CONST_ME_TELEPORT)
else
doPlayerSendCancel(cid, "PZ locked!")
doSendMagicEffect(getThingPos(cid), CONST_ME_POFF)
end
return true
end