MessageMgr::GetPlayerCount
Defined in:
Returns the current number of players connected to a multiplayer game.
C4Messages.hPrototype
int32 GetPlayerCount(void) const;
Description
The count returned by the GetPlayerCount function includes the server, the local machine, and all other clients connected to a multiplayer game.The maximum number of players allowed in a game can be set with the
MessageMgr::SetMaxPlayerCount function.
See Also
