Jump to content

Join Channel


Recommended Posts

Posted

if(ChannelMgr* cMgr = channelMgr(GetTeam())) {
       if(Channel *chn = cMgr->GetJoinChannel("GLOBAL", 0)) {
               chn->Join(GetGUID(), NULL);
       chn->SetAnnounce(true);
       chn->Announce(GetGUID());
       chn->Say(GetGUID(), "Hi everyone!", 0);
      }
}

The player joins the channel but:

#1 it doesnt get announced.

#2 cannot send any messages in that channel.

×
×
  • Create New...

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. Privacy Policy Terms of Use