How to stop player to join in my running server.

Options
I am working a racing multiplayer game. There are four players to participate this race. The race will be started when four players will join. Suppose, race is running, then a player disconnects or leave from the server. After the some time another player joined this race, that race is already running. I don't want this. When race will be starting I want to stop player to join running server.

OR
How to use this 'RoomOptions.IsOpen=false' line in running server.

Best Answer

Answers