• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Teleport Scroll

  • Thread starter Deleted member 49793
  • Start date
D

Deleted member 49793

Guest
Im sure this is released but i wasnt able to find it, anyone got a WORKING teleport scroll script?

Cant teleport when you have battlesign to avoid teleporting during pvp etc.
 
Lua:
function onUse(cid, item, frompos, item2, topos)
ppos = getPlayerPosition(cid)
temple = getPlayerMasterPos(cid)
if (getCreatureCondition(cid, CONDITION_INFIGHT) == FALSE) then
doTeleportThing(cid, temple, TRUE)
doSendMagicEffect(ppos,66)
doSendAnimatedText(frompos,'Teleport!',16)
else
doPlayerSendCancel(cid,"You can't teleport immediately after fight.")
doSendMagicEffect(ppos,2)
end
return 1
end
 
Yeah, It only Works if you haven't the battle sings, i couldn't find a script so it works if you haven't attacked any player...
 
Back
Top