wikutag
SoulBound 8.6 100% custom
Any possible way we can make this rune where if they have battle sig they cannot teleport because people can teleport when pvping -.- please!!
local truepos = {x=32369, y=32240, z=7}
function onUse(cid, item, fromPosition, itemEx, toPosition)
if isPlayerPzLocked(cid) then
doTeleportThing(cid, truepos, FALSE)
doCreatureSay(cid, "You cannot teleport while pz locked!", 19)
else
doTeleportThing(cid, truepos, TRUE)
doCreatureSay(cid, "Teleported!", 19)
end
return true
end
local truepos = {x=32369, y=32240, z=7}
function onUse(cid, item, fromPosition, itemEx, toPosition)
if isPlayerPzLocked(cid) then
doTeleportThing(cid, truepos, FALSE)
doCreatureSay(cid, "You cannot teleport while pz locked!", 19)
else
doTeleportThing(cid, truepos, TRUE)
doCreatureSay(cid, "Teleported!", 19)
end
return true
end