Aparece algum erro na distro?
Se sim, pf envie o erro.
info
Group: Conde
Joined: 07/04/15
Posts: 926
Reputation: +335
Gender: Masculino

Aparece algum erro na distro?
Se sim, pf envie o erro.
Não aparece nem um erro, simplesmente não funciona ![]()
info
Group: Conde
Joined: 07/04/15
Posts: 926
Reputation: +335
Gender: 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
Edited Março 18 by Danihcv
info
Group: Diretor
Joined: 12/05/12
Posts: 818
Reputation: +578
Gender: Masculino
Tibia Character: [ADM] Night

No lugar do level = 600 não seria local level = 600?
Vou testar!
DEU certo <3 REP+
info
Group: Campones
Joined: 12/08/15
Posts: 84
Reputation: +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?
Edited Março 18 by fawkz12