Ir para conteúdo

Featured Replies

Postado

..

Editado por Christinacsa (veja o histórico de edições)

Meu Servidor Minecraft : Ip - Skylowcraft.minecraftbr.net:25585 = Servidor 24hrs Sem Lag , Sem Hackers (1.7.2) Servidor De Fullpvp e Survival - Vamos Colocar Minigames!.

  • Respostas 5
  • Visualizações 285
  • Created
  • Última resposta

Top Posters In This Topic

Postado

Depois eu posto aqui to meio ocupado e ainda vo fazer mais e facil AGuarde.

Conteúdos Tragos Por Mim ao Fórum:

Venda de Vocações [Modern Aac] •

• Comando !Saga 

• [Modern Aac] DragonBall 

• Esconder •

• Naruto 2018

• • •

• •

'NtoProject - Breve'

[Show OFF] Disponível

Postado
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({'travel'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'I can take you to Suna, Mist, Konoha, Clan uchiha, iwagakure, Amegakure, Valley of the End, South Florest, Covil taka, South Island, West Desert.'})
local travelNode = keywordHandler:addKeyword({'viajar'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'I can take you to Suna, Mist, Konoha, Clan uchiha, iwagakure, Amegakure, Valley of the End, South Florest, Covil taka, South Island, West Desert.'})

	travelNode:addChildKeyword({'suna'}, StdModule.travel, {npcHandler = npcHandler,  level = 1, cost = 0, destination = {x=564, y=1145, z=7} })
	travelNode:addChildKeyword({'mist'}, StdModule.travel, {npcHandler = npcHandler,  level = 1, cost = 0, destination = {x=1149, y=1218, z=7} })
	travelNode:addChildKeyword({'konoha'}, StdModule.travel, {npcHandler = npcHandler, level = 1, cost = 0, destination = {x=1015, y=906, z=7} })
	travelNode:addChildKeyword({'clan uchiha'}, StdModule.travel, {npcHandler = npcHandler,  premium = false, level = 1, cost = 0, destination = {x=1219, y=828, z=7} })
	travelNode:addChildKeyword({'amegakure'}, StdModule.travel, {npcHandler = npcHandler, premium = true, level = 1, cost = 0, destination = {x=972, y=1430, z=7} })
	travelNode:addChildKeyword({'valley of the end'}, StdModule.travel, {npcHandler = npcHandler, premium = false, level = 1, cost = 0, destination = {x=965, y=830, z=7} })
	travelNode:addChildKeyword({'south florest'}, StdModule.travel, {npcHandler = npcHandler, premium = false, level = 1, cost = 0, destination = {x=912, y=1179, z=7} })
	travelNode:addChildKeyword({'covil taka'}, StdModule.travel, {npcHandler = npcHandler,  premium = true, level = 400, cost = 0, destination = {x=1339, y=822, z=7} })
	travelNode:addChildKeyword({'west desert'}, StdModule.travel, {npcHandler = npcHandler,  premium = true, level = 1, cost = 0, destination = {x=1496, y=1053, z=7} })
	travelNode:addChildKeyword({'south island'}, StdModule.travel, {npcHandler = npcHandler,  premium = true, level = 1, cost = 0, destination = {x=1084, y=1400, z=7} })
	travelNode:addChildKeyword({'iwagakure'}, StdModule.travel, {npcHandler = npcHandler,  premium = false, level = 1, cost = 0, destination = {x=1674, y=1158, z=6} })
	travelNode:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, reset = true, text = 'Fica para a proxima Então.'})
	

        -- Makes sure the npc reacts when you say hi, bye etc.
        npcHandler:addModule(FocusModule:new())

Editado por Hastafaru
Resolvido ! (veja o histórico de edições)

Conteúdos Tragos Por Mim ao Fórum:

Venda de Vocações [Modern Aac] •

• Comando !Saga 

• [Modern Aac] DragonBall 

• Esconder •

• Naruto 2018

• • •

• •

'NtoProject - Breve'

[Show OFF] Disponível

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Estatísticas dos Fóruns

  • Tópicos 96.9k
  • Posts 519.9k

Informação Importante

Confirmação de Termo