lol
é só colocar no parametro o level '-'
local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end
function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end
function onThink() npcHandler:onThink() end
local travelNode = keywordHandler:addKeyword({'enigma city'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Do you wish to travel to Enigma City for 50 gold coins?'})
travelNode:addChildKeyword({'yes'}, StdModule.travel, {npcHandler = npcHandler, premium = true, level = 1000, cost = 50, destination = {x=942, y=978, z=6} })
travelNode:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, reset = true, text = 'Too expensive, eh?'})
keywordHandler:addKeyword({'destination'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'I can take you to \'Enigma City\' for just a small fee.'})
npcHandler:addModule(FocusModule:new())
premium = true -- se precisa ser premium
level = 1000 -- que level precisa ter
cost = 50 -- o custo da viagem
destination = {x=942, y=978, z=6} -- a pos para onde ele vai


info
Grupo: Barão
Registrado: 30/10/11
Posts: 207
Reputação: +83
Char no Tibia: Anjo Assasinu
GALERA EU QUERIA UM NPC QUE TELETRANSPORTA UM PLAYER PARA UMA CIDADE
EXEMPLO EU CONVERSO COM O NPC AI
EU SO POSSO SER TELETRANSPORTADO SE EU TIVER LEVEL
1000
DOU REP++ SE ALGUEM CONSEGUIR !