Metin2 BestWar 0 Posted July 8, 2020 Alguém poderia me disponibilizar ou me informar se existe uma quest que anuncia quando um jogador mata outro. Share this post Link to post Share on other sites
0 Karbust 1,143 Posted July 8, 2020 5 minutos atrás, Metin2 BestWar disse: Obrigado pela atenção, não funcionou. Falta o begin no fim do when quest kills begin state start begin when kill with npc.is_pc() begin local matou = pc.get_name() local vid = npc.get_vid() local morto = pc.select(vid) local morto_nome = pc.get_name() notice_all("O player "..matou.." matou o "..morto_nome) end end end 1 Metin2 BestWar reacted to this Share this post Link to post Share on other sites
0 Karbust 1,143 Posted July 8, 2020 quest kills begin state start begin when kill with npc.is_pc() local matou = pc.get_name() local vid = npc.get_vid() local morto = pc.select(vid) local morto_nome = pc.get_name() notice_all("O player "..matou.." matou o "..morto_nome) end end end Não tenho a certeza se funciona, testa e depois diz como correu. 1 Metin2 BestWar reacted to this Share this post Link to post Share on other sites
0 Metin2 BestWar 0 Posted July 8, 2020 Obrigado pela atenção, não funcionou. 2 horas atrás, Karbust disse: Falta o begin no fim do when quest kills begin state start begin when kill with npc.is_pc() begin local matou = pc.get_name() local vid = npc.get_vid() local morto = pc.select(vid) local morto_nome = pc.get_name() notice_all("O player "..matou.." matou o "..morto_nome) end end end Funcionou perfeitamente, muito obrigado. Share this post Link to post Share on other sites
Alguém poderia me disponibilizar ou me informar se existe uma quest que anuncia quando um jogador mata outro.
Share this post
Link to post
Share on other sites