Author Topic: CloseChannel and need open for next match  (Read 1867 times)

Elmo loves cookies

  • Jr. Member
  • **
  • Thank You
  • -Given: 60
  • -Receive: 1
  • Posts: 62
    • View Profile
CloseChannel and need open for next match
« on: March 08, 2017, 03:56:00 AM »
When start round - I close channel.
After round I need open this channel for other players, what the best way for this?

I should use ChannelData for this?

p.s.: I need closing the channel only when game in fight round, and then I need open for expectations of new players for next fight round

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: CloseChannel and need open for next match
« Reply #1 on: March 10, 2017, 11:52:10 AM »
Once a channel is marked as closed, it can't be opened anymore.

Instead of closing the channel, change the player limit to 1. This will have the same effect of preventing others from joining, but will allow you to change it back to a higher number to let them join when you're ready.