• 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!

[Request] Lvl tp

Its really advanced script ^^ Nobody gives this for free ;p

This is the easiest script, So why do you even bother talking? I made this script mainly because of what you said.

Code:
function onStepIn(cid, item, position, fromPosition)
--- Config --
levelneeded = 8
place = {x=1000, y=1000, z=7}

	if getPlayerLevel(cid) >= levelneeded then
		doPlayerSetTown(cid, 2)
		doTeleportThing(cid,place)
		else
		 doPlayerSendTextMessage(getPlayer, 25, "You are not high enouph level!")
		 doTeleportThing(cid, fromPosition, TRUE)
	end
	return TRUE
end
 
Because the thread was resurrected.., and I'd hate to see someone use the script that was posted as-is..
Lua:
local level_needed = 8
local place = {x = 1000, y = 1000, z = 7}

function onStepIn(cid, item, position, fromPosition)
   if getPlayerLevel(cid) >= level_needed then
       doPlayerSetTown(cid, 2)
       doTeleportThing(cid, place)
   else
       doPlayerSendTextMessage(getPlayer, 25, "You are not high enough level!")
       doTeleportThing(cid, fromPosition, true)
   end
   return true
end
 
Back
Top