Ir para conteúdo
  • Cadastre-se
  • 0

MOD ANNOUCE PVP E PK


PhatomKnight

Pergunta

6 respostass a esta questão

Posts recomendados

  • 0
59 minutos atrás, PhatomKnight disse:

Galera alguém o mod pvp e pk announce que amonstra aonde o player morreu??

Exemplo

 

AAAAAA MATOU BBBBB EM VARKAS SILENOS. 

                 if (Config.ANNOUNCE_PVP_KILL)
                 {
                 Broadcast.toAllOnlinePlayers(SystemMessage.sendString("" + getName() + " has defeated " + target.getName()));
                 SystemMessage sm = new SystemMessage(SystemMessageId.S1_S2);
                 sm.addZoneName(getX(), getY(), getZ());
                 sm.addString("- " + getName() + " has defeated " + target.getName() + ".");
                 Announcements.getInstance();
                 Announcements.announceToAll(sm);
                 sm = null;
                 }

Link para o comentário
Compartilhar em outros sites


  • 0
40 minutos atrás, •кααy• disse:

                 if (Config.ANNOUNCE_PVP_KILL)
                 {
                 Broadcast.toAllOnlinePlayers(SystemMessage.sendString("" + getName() + " has defeated " + target.getName()));
                 SystemMessage sm = new SystemMessage(SystemMessageId.S1_S2);
                 sm.addZoneName(getX(), getY(), getZ());
                 sm.addString("- " + getName() + " has defeated " + target.getName() + ".");
                 Announcements.getInstance();
                 Announcements.announceToAll(sm);
                 sm = null;
                 }

o correto seria assim.

 if (Config.ANNOUNCE_PVP_KILL)
                 Broadcast.toAllOnlinePlayers( SystemMessage sm = new SystemMessage(SystemMessageId.S1_S2).addZoneName(getX(), getY(), getZ()).addString("- " + getName() + " has defeated " + target.getName() + "."));

Link para o comentário
Compartilhar em outros sites

  • 0
12 minutos atrás, Failed disse:

o correto seria assim.

 if (Config.ANNOUNCE_PVP_KILL)
                 Broadcast.toAllOnlinePlayers( SystemMessage sm = new SystemMessage(SystemMessageId.S1_S2).addZoneName(getX(), getY(), getZ()).addString("- " + getName() + " has defeated " + target.getName() + "."));

cade resto do codigo ?

Link para o comentário
Compartilhar em outros sites

  • 0
15 horas atrás, •кααy• disse:

                 if (Config.ANNOUNCE_PVP_KILL)
                 {
                 Broadcast.toAllOnlinePlayers(SystemMessage.sendString("" + getName() + " has defeated " + target.getName()));
                 SystemMessage sm = new SystemMessage(SystemMessageId.S1_S2);
                 sm.addZoneName(getX(), getY(), getZ());
                 sm.addString("- " + getName() + " has defeated " + target.getName() + ".");
                 Announcements.getInstance();
                 Announcements.announceToAll(sm);
                 sm = null;
                 }

poderia postar o codigo todo pra nos?

Link para o comentário
Compartilhar em outros sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Visitante
Responder esta pergunta...

×   Você colou conteúdo com formatação.   Remover formatação

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Processando...
  • Registre-se

    Faça parte da maior e  mais antigas comunidades sobre Lineage2 da América Latina.





×
×
  • Criar Novo...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.