Ir para conteúdo
  • Cadastre-se

Aragllov

Membro
  • Total de itens

    91
  • Registro em

  • Última visita

  • Dias Ganhos

    2

Tudo que Aragllov postou

  1. Tenta assim: local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) local npcHandlerfocus = NPCHANDLER_CONVBEHAVIOR == CONVERSATION_DEFAULT and 0 or cid NpcSystem.parseParameters(npcHandler) npcHandler:setMessage(MESSAGE_GREET, "Hey! A human! What are you doing in my kitchen, |PLAYERNAME|?") npcHandler:setMessage(MESSAGE_PLACEDINQUEUE, "Whoa. Do I look as if I had two heads? Only one at a time, |PLAYERNAME|!") npcHandler:setMessage(MESSAGE_WALKAWAY, "Now, where was I?") npcHandler:setMessage(MESSAGE_FAREWELL, "Goodbye. I am sure you will co
  2. local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) local npcHandlerfocus = NPCHANDLER_CONVBEHAVIOR == CONVERSATION_DEFAULT and 0 or cid NpcSystem.parseParameters(npcHandler) npcHandler:setMessage(MESSAGE_GREET, "Hey! A human! What are you doing in my kitchen, |PLAYERNAME|?") npcHandler:setMessage(MESSAGE_PLACEDINQUEUE, "Whoa. Do I look as if I had two heads? Only one at a time, |PLAYERNAME|!") npcHandler:setMessage(MESSAGE_WALKAWAY, "Now, where was I?") npcHandler:setMessage(MESSAGE_FAREWELL, "Goodbye. I am sure you will come back for more. They a
  3. 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 voices = { {text = 'Now, where was I...'} } npcHandler:addModule(VoiceModule:new(voices)) local function creatureSayCallback(cid, type, msg) if not npcHandler:isFocused(cid) the
  4. local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) local npcHandlerfocus = NPCHANDLER_CONVBEHAVIOR == CONVERSATION_DEFAULT and 0 or cid NpcSystem.parseParameters(npcHandler) npcHandler:setMessage(MESSAGE_GREET, "Hey! A human! What are you doing in my kitchen, |PLAYERNAME|?") npcHandler:setMessage(MESSAGE_PLACEDINQUEUE, "Whoa. Do I look as if I had two heads? Only one at a time, |PLAYERNAME|!") npcHandler:setMessage(MESSAGE_WALKAWAY, "Now, where was I?") npcHandler:setMessage(MESSAGE_FAREWELL, "Goodbye. I am sure you will come back for more. They a
  5. local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) local npcHandlerfocus = NPCHANDLER_CONVBEHAVIOR == CONVERSATION_DEFAULT and 0 or cid NpcSystem.parseParameters(npcHandler) npcHandler:setMessage(MESSAGE_GREET, "Hey! A human! What are you doing in my kitchen, |PLAYERNAME|?") npcHandler:setMessage(MESSAGE_PLACEDINQUEUE, "Whoa. Do I look as if I had two heads? Only one at a time, |PLAYERNAME|!") npcHandler:setMessage(MESSAGE_WALKAWAY, "Now, where was I?") npcHandler:setMessage(MESSAGE_FAREWELL, "Goodbye. I am sure you will come back for more. They a
  6. local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) local npcHandlerfocus = NPCHANDLER_CONVBEHAVIOR == CONVERSATION_DEFAULT and 0 or cid NpcSystem.parseParameters(npcHandler) npcHandler:setMessage(MESSAGE_GREET, "Hey! A human! What are you doing in my kitchen, |PLAYERNAME|?") npcHandler:setMessage(MESSAGE_PLACEDINQUEUE, "Whoa. Do I look as if I had two heads? Only one at a time, |PLAYERNAME|!") npcHandler:setMessage(MESSAGE_WALKAWAY, "Now, where was I?") npcHandler:setMessage(MESSAGE_FAREWELL, "Goodbye. I am sure you will come back for more. They a
  7. Usa esse script como exemplo: local messages = { {'Gnomedix: So let the examination begin! Now don\'t move. Don\'t be afraid. The good doctor gnome won\'t hurt you - hopefully!', CONST_ME_LOSEENERGY}, {'Gnomedix: Now! Now! Don\'t panic! It\'s all over soon!'}, {'Gnomedix: Let me try a bigger chisel!', CONST_ME_POFF}, {'Gnomedix: We\'re almost don... holy gnome! What\'s THIS???'}, {'Gnomedix: I need a drill! Gnomenursey, quick!'}, {'Gnomedix: Hold still now! This might tickle a little..', CONST_ME_STUN}, {'Gnomedix: Take this, you evil ... whatever you are!'}, {'Gnomedix: I got it!
  8. Tenta substituindo assim: if not player:getItemById(2347, 1) then Por: if player:getItemById(2347, 1) then
  9. tenta assim: 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 voices = { {text = 'Now, where was I...'} } npcHandler:addModule(VoiceModule:new(voices)) local function creat
  10. Acrescenta isso em cada monstro: <flag ignorespawnblock="1" />
  11. Tem que ter um roteador além do modem da sua operadora
  12. -- EditeD by: Yuri -- Passagem Secreta BOSS: Sunfyre the Golden local positions = { [1] = {pos = {x = 33295, y = 32779, z = 7}, id = 419, toid = 411} } local tempo = 15 function onUse(cid, item, frompos, item2, topos) if getTileItemById(positions[1].pos, positions[1].id).uid < 100 then doPlayerSendTextMessage(cid,19,"Is already open.") return true end doPlayerSendTextMessage(cid,19,"The passage will close in ".. tempo .." seconds.") function criar_paredes(buff) for i = 1, #positions do if i <= (#positions/2) then
  13. Tenta adicionando outro efeito pra ver se funciona doSendMagicEffect(frompos, 10)
  14. Faz assim, onde vc colocou doSendMagicEffect(topos, CONST_ME_POFF) coloque print("retornando 1") Pra ver se ta lendo essa parte do script. Vou colocar aqui: -- EditeD by: Yuri -- Passagem Secreta BOSS: Sunfyre the Golden local positions = { [1] = {pos = {x = 33295, y = 32779, z = 7}, id = 419, toid = 411} } local tempo = 15 function onUse(cid, item, frompos, item2, topos) if getTileItemById(positions[1].pos, positions[1].id).uid < 100 then doPlayerSendTextMessage(cid,19,"Is already open.") print("retornando 1") return tr
  15. -- EditeD by: Yuri -- Passagem Secreta BOSS: Sunfyre the Golden local positions = { [1] = {pos = {x = 33295, y = 32779, z = 7}, id = 419, toid = 411} } local tempo = 15 function onUse(cid, item, frompos, item2, topos) if getTileItemById(positions[1].pos, positions[1].id).uid < 100 then doPlayerSendTextMessage(cid,19,"Is already open.") doSendMagicEffect(topos, CONST_ME_POFF) return true end doPlayerSendTextMessage(cid,19,"The passage will close in ".. tempo .." seconds.") function criar_paredes(buff) for i = 1, #positions do
  16. -- EditeD by: Yuri -- Passagem Secreta BOSS: Sunfyre the Golden local positions = { [1] = {pos = {x = 33295, y = 32779, z = 7}, id = 419, toid = 411} } local tempo = 15 function onUse(cid, item, frompos, item2, topos) pos = {x = 33295, y = 32779, z = 7} if getTileItemById(positions[1].pos, positions[1].id).uid < 100 then doPlayerSendTextMessage(cid,19,"Is already open.") doSendMagicEffect(pos, CONST_ME_POFF) return true end doPlayerSendTextMessage(cid,19,"The passage will close in ".. tempo .." seconds.") function criar_paredes(buff)
  17. -- EditeD by: Yuri -- Passagem Secreta BOSS: Sunfyre the Golden local positions = { [1] = {pos = {x = 33295, y = 32779, z = 7}, id = 419, toid = 411} } local tempo = 15 function onUse(cid, item, frompos, item2, topos) if getTileItemById(positions[1].pos, positions[1].id).uid < 100 then doPlayerSendTextMessage(cid,19,"Is already open.") return true end pos = {x = 33295, y = 32779, z = 7} doPlayerSendTextMessage(cid,19,"The passage will close in ".. tempo .." seconds.") function criar_paredes(buff) for i = 1, #positions do if i <=
×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo