NB! It seems this console command is not compatible with CS2.
Command Profile

SV_DZ_TEAM_COUNT

CS:GO

This command sets the maximum amount of players that can be in each team in Danger Zone.

Syntax
sv_dz_team_count [Amount]

Description

This command sets the maximum amount of players that can be in each team in Danger Zone.

How To Use sv_dz_team_count

  1. Enable the developer console in Counter-Strike settings.
  2. Open the console with the tilde key (~).
  3. Enter sv_dz_team_count [Amount], replacing bracketed arguments with the value you want, then press Enter.

This legacy command is not currently listed as compatible with Counter-Strike 2.

Syntax And Arguments

sv_dz_team_count [Amount]
Amount The maximum amount of players that can be in each team (e.g. 2).