Area Errada Reportado !
Mas Eu Conheço Esse Script
Va em data / npc / scripts / e renome qualqer arquivo.lua para defaultmsg e add isso tudo la dentro
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
function thinkCallback(cid)
local rand = math.random(1,100)
if rand == 1 then
selfSay('Ola')
selfSay('Bem vindo !')
end
return true
end
Para Ir Adicinando Novas Msg So Adicionar
Isso Antes Do Primeiro end
selfSay('Poem Sua Msg')
espero ter ajudado
ate








info
Grupo: Barão
Registrado: 24/01/11
Posts: 245
Reputação: +10
quero criar um npc que não venda nada so fique falando tipo mensagem no defaut tipo: seja bem vindo ao nosso Server!
mais que fala varias mensagem de tanto en tanto tempo me ajudem please...
e mais uma coisa onde eu mudo um potion para healar mais ou menos?
ninguem ajuda?