Retrieve the maximum number of spectators that can join the room.
Spectators can exist in game rooms only.
Spectators can exist in game rooms only.


The maximum number of spectators that can join the room

Version:
SmartFoxServer Basic / Pro
SmartFoxServer Basic / Pro


if (room.IsGame()) Debug.WriteLine("Max spectators allowed to join the room: " + room.GetMaxSpectators());
