.xml
<npc name="Raven" script="data/npc/scripts/default.lua" floorchange="0" access="5" level="1" maglevel="1"><health now="150" max="150"/>
<look type="155" head="38" body="58" legs="3" feet="114" corpse="2212"/>
<parameters>
<parameter key="module_travel" value="1"/>
<parameter key="message_greet" value="Welcome |PLAYERNAME|!" />
<parameter key="travel_destinations" value="LOCATION,1113,1059,6,1;LOCATION,1143,1059,6,10000"/>
</parameters>
</npc>
.lua
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
npcHandler:addModule(FocusModule:new())
Se voce tem conhecimentos básicos só dá uma editada ai.




info
Group: Barão
Joined: 12/09/10
Posts: 249
Reputation: +53
Versão: Protocolo 8.54( TFS 0.3.6pl1.r95 )
Pessoal, será que alguém pode me ajudar? Estou precisando de um NPC bem simples, que somente ao dizer "hi", e sem cobrar nada, ele teleport pra uma cordenada qualquer..
Se alguém puder ajudar, rep+ ai :smile_positivo: