Hi, I encountered an issue with vocation doors script :
function onUse(cid, item, fromPosition, itemEx, toPosition)
if(item.actionID== 1228) then
if getplayervocation(cid) == 1 or getplayervocation(cid) == 5 and getPlayerLevel(cid) >= 300 then
doTeleportThing(cid, {x = 18123, y = 18262, z...