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

[Movements] level teleport protection

YugiNao

Banned User
Joined
Nov 22, 2008
Messages
211
Reaction score
3
I need a script, if go in teleport it asks's for a level limit "sorry cant enter need to be level 300" as example, can someone make me this? thanks :peace:
 
Code:
local t = {
level = 300,
pos = {x=247, y=659, z=13}
}
function onStepIn(cid, item, position, fromPosition)
if isPlayer(cid) then
local k = getPlayerLevel(cid) >= t.level
doTeleportThing(cid, k and t.pos or fromPosition)
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, k and 'Enjoy Going where you are going.' or 'You need level ' .. t.level .. ' to go through here.')
end
end
You have to post better version 24/7, Every Post you see?
@sync.43114 Does that disturb you? Deal with it...

You have to post better version 24/7, Every Post you see?
It's one of no lifer's features. ;d
@chojrak.17999 If he's a no-lifer, then what are you? a dustbin?
 
Back
Top