Category: Player
Since engine version: 1.0 OC
SetMaxPlayer
Description
Adjusts the maximum number of players that can take part in the current round. Lowering this value will not eliminate active players. This value only affects the limit for joining players.
Syntax
bool SetMaxPlayer(int max);
Parameter
- max:
- New maximum player count.
Example
func Script100() { return(SetMaxPlayer()); }
Part of a scenario script: after a little while, no more players can join.
See also: GetPlayerCount