faz um moveevent onstepin e coloca um if getPlayerLevel(cid) < x then, e bota um doTeleportThing pra fromprosition
info
Group: Campones
Joined: 11/04/13
Posts: 72
Reputation: +24

function onStepIn(cid, item, position, fromPosition)
level = 300
if getPlayerLevel(cid) < level then
doTeleportThing(cid, fromPosition, true)
doSendMagicEffect(getThingPos(cid), CONST_ME_MAGIC_BLUE)
doPlayerSendCancel(cid,"You Need level " .. level .. " or more this pass.")
end
return TRUE
end
Tenta esse ai
Ajudei ? Rep ++
Edited Abril 11 by Dann123
info
Group: Infante
Joined: 27/08/11
Posts: 1.9k
Reputation: +85
Gender: Masculino
Tibia Character: Bruno Maciel

cara tudo bem pedi a script mais falta linha dela pra por no xml 0.o e coloca a script em spoiler ^^function onStepIn(cid, item, position, fromPosition)
level = 300
if getPlayerLevel(cid) < level then
doTeleportThing(cid, fromPosition, true)
doSendMagicEffect(getThingPos(cid), CONST_ME_MAGIC_BLUE)
doPlayerSendCancel(cid,"You Need level " .. level .. " or more this pass.")
end
return TRUE
end
Tenta esse ai
Ajudei ? Rep ++
info
Group: Herói
Joined: 14/12/10
Posts: 3.6k
Reputation: +846
Gender: Masculino

Renomeie o arquivo .LUA criado para steplevel e em movements.xml adicione a tag:
<movevent type="StepIn" actionid="12249" event="script" value="steplevel.lua"/>
Muito bem, agora pelo Map Editor adicione a ACTION ID 12249 para os Tiles que quiser.
info
Group: Infante
Joined: 27/08/11
Posts: 1.9k
Reputation: +85
Gender: Masculino
Tibia Character: Bruno Maciel

Duvida sanada !!
Rep+




info
Group: Infante
Joined: 27/08/11
Posts: 1.9k
Reputation: +85
Gender: Masculino
Tibia Character: Bruno Maciel
Eu queria o system de tile por level.
Ex: so level 300 pode passar !!
Obs: ja procurei aqui no xtibia mais oque achei nao era bem oque eu queria =/
Rep+