• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

8 Level tp

LUA:
function onAdvance(cid, skill, oldLevel, newLevel)
    if skill == SKILL__LEVEL and newLevel == 8 and getPlayerVocation(cid) == 0 then
        doTeleportThing(cid, { x = 100, y = 100, z = 7 })
        doPlayerSetTown(cid, 2)
    end
    
    return TRUE
end
 
Code:
<event type="advance" name="PlayerTeleport" event="script" value="your_script_name.lua"/>

and in login.lua
LUA:
registerCreatureEvent("PlayerTeleport")
 
Back
Top