Jump to content
  • 0

Como faço para a janela de chat, monitorar dois mapas?


Tdi123

Question


  • Group:  Members
  • Topic Count:  92
  • Topics Per Day:  0.04
  • Content Count:  192
  • Reputation:   3
  • Joined:  12/12/17
  • Last Seen:  

Exemplo:

setarray    $WOT$[0],"guild_vs2"; // NOME DO MAPA QUE SERÁ MONITORADO EM TEMPO REAL
        waitingroom    "",0;

    OnTimer1000:
        setarray    .@MSG$,"["+getmapusers($WOT$[0])+"] Arena PvP"; // MENSAGEM QUE SERÁ EXIBIDA PELA PLACA
        delwaitingroom;
        waitingroom    .@MSG$[rand(0)],0;
        initnpctimer;

Nessa configuração ele monitora apenas 1 mapa, porém eu queria que ele monitorasse dois mapas, mudando a cada 5 segundos!

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  51
  • Reputation:   3
  • Joined:  08/01/12
  • Last Seen:  

//====================== "Balão de Chat"

OnInit:
 waitingroom "",0;
  OnTimer2000:
   setarray    $WOT$[0],"guild_vs2"; // NOME DO MAPA QUE SERÁ MONITORADO EM TEMPO REAL
   setarray .@Merc$,"["+getmapusers($WOT$[0])+"]","janela 2","janela 3";
    set .@msg, rand(getarraysize(.@Merc$));
    delwaitingroom;
     waitingroom .@Merc$[.@msg],0;
      initnpctimer;

//======================

n testei, mas acredito q vá te ajudar em algo ^^

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  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.

×
×
  • Create New...