Aparece algum erro na distro?
Se sim, pf envie o erro.
info
Grupo: Conde
Registrado: 07/04/15
Posts: 926
Reputação: +335
Gênero: Masculino

Aparece algum erro na distro?
Se sim, pf envie o erro.
Não aparece nem um erro, simplesmente não funciona ![]()
info
Grupo: Conde
Registrado: 07/04/15
Posts: 926
Reputação: +335
Gênero: Masculino

Tenta ae:
local level = 600 function onStepIn(cid, item, position, fromPosition) if isPlayer(cid) == false then return true end if getPlayerLevel(cid) < level then doTeleportThing(cid, fromPosition, true) doSendMagicEffect(getThingPos(cid), CONST_ME_MAGIC_RED) doPlayerSendTextMessage(cid, 27, "Only level "..level.." or more can pass here.") return true end return true end
E só a titulo de esperança, caso o anterior ñ funcione, tente esse:
local level = 600 function onStepIn(cid, item, position, fromPosition) if isPlayer(cid) == false then return true end if getPlayerLevel(cid) < level then doTeleportThing(cid, fromPosition) doSendMagicEffect(getThingPos(cid), CONST_ME_MAGIC_RED) doPlayerSendTextMessage(cid, 27, "Only level "..level.." or more can pass here.") return true end return true end
Editado Março 18 por Danihcv
info
Grupo: Diretor
Registrado: 12/05/12
Posts: 818
Reputação: +578
Gênero: Masculino
Char no Tibia: [ADM] Night

No lugar do level = 600 não seria local level = 600?
Vou testar!
DEU certo <3 REP+
info
Grupo: Campones
Registrado: 12/08/15
Posts: 84
Reputação: +7
Bom eu coloquei tile level no meu servidor, mas ele não funfa... todos os leveis podem passar nele.....
Script do movements.xml
Script do movements\scripts
Como arrumar?
Editado Março 18 por fawkz12