GEEKHUB / COUNTER-STRIKE 2

CS2 Spectator Commands

Browse documented spectator console commands.

91 documented commands
Browse command categories 18 topics
How to use console commands

Enable the developer console in game settings, open it using your assigned key, then enter a command. Check its context before use. Server commands require appropriate server permissions; practice-only commands belong in controlled sessions.

91 commands
CommandDescription & syntaxCompatibilityActions
cl_observed_bot_crosshairSpectator · Client

Controls crosshair display while observing a bot.

Syntax & details
cl_observed_bot_crosshair <0 / 1>

Example

cl_observed_bot_crosshair 0
Category
Spectator
Context
Client
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
spec_nextSpectator · Client

Moves to the next spectated player.

Syntax & details
spec_next

Example

spec_next
Category
Spectator
Context
Client
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
spec_prevSpectator · Client

Moves to the previous spectated player.

Syntax & details
spec_prev

Example

spec_prev
Category
Spectator
Context
Client
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
spec_show_xraySpectator · Client

Toggles player outlines in supported spectator or demo views.

Syntax & details
spec_show_xray <0 / 1>

Example

spec_show_xray 1
Category
Spectator
Context
Client
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
mp_forcecameraSpectator · Server

Limits camera options available to eliminated players on a server.

Syntax & details
mp_forcecamera [mode]

Example

mp_forcecamera
Category
Spectator
Context
Server
Type
ConVar
Reference value
0
Documented values
mode
CS2 reference
Details →
mp_spectators_maxSpectator · Server

Limits the number of spectator slots allowed in a match.

Syntax & details
mp_spectators_max [count; minimum 0]

Example

mp_spectators_max 4
Category
Spectator
Context
Server
Type
ConVar
Reference value
2
Documented values
count; minimum 0
CS2 reference
Details →
mp_teamflag_1Spectator · Server

Sets the flag displayed beside the first team's name on the observer scoreboard.

Syntax & details
mp_teamflag_1 [two-letter country code]

Example

mp_teamflag_1 UA
Category
Spectator
Context
Server
Type
ConVar
Reference value
""
Documented values
two-letter country code
CS2 reference
Details →
mp_teamflag_2Spectator · Server

Sets the flag displayed beside the second team's name on the observer scoreboard.

Syntax & details
mp_teamflag_2 [two-letter country code]

Example

mp_teamflag_2 SE
Category
Spectator
Context
Server
Type
ConVar
Reference value
""
Documented values
two-letter country code
CS2 reference
Details →
mp_teamname_1Spectator · Server

Overrides the displayed name of the first team in a custom match.

Syntax & details
mp_teamname_1 [team name]

Example

mp_teamname_1 "Team A"
Category
Spectator
Context
Server
Type
ConVar
Reference value
""
Documented values
team name
CS2 reference
Details →
mp_teamname_2Spectator · Server

Overrides the displayed name of the second team in a custom match.

Syntax & details
mp_teamname_2 [team name]

Example

mp_teamname_2 "Team B"
Category
Spectator
Context
Server
Type
ConVar
Reference value
""
Documented values
team name
CS2 reference
Details →
mp_teammatchstat_1Spectator · Server

Provides a custom broadcast statistics label for the first team.

Syntax & details
mp_teammatchstat_1 [text]

Example

mp_teammatchstat_1 "1 win"
Category
Spectator
Context
Server
Type
ConVar
Reference value
""
Documented values
text
CS2 reference
Details →
mp_teammatchstat_2Spectator · Server

Provides a custom broadcast statistics label for the second team.

Syntax & details
mp_teammatchstat_2 [text]

Example

mp_teammatchstat_2 "0 wins"
Category
Spectator
Context
Server
Type
ConVar
Reference value
""
Documented values
text
CS2 reference
Details →
mp_teammatchstat_cycletimeSpectator · Server

Adjusts the interval between broadcast match statistics.

Syntax & details
mp_teammatchstat_cycletime [seconds]

Example

mp_teammatchstat_cycletime 30
Category
Spectator
Context
Server
Type
ConVar
Reference value
45
Documented values
seconds
CS2 reference
Details →
mp_teammatchstat_holdtimeSpectator · Server

Adjusts how long a selected statistic remains visible.

Syntax & details
mp_teammatchstat_holdtime [seconds]

Example

mp_teammatchstat_holdtime 8
Category
Spectator
Context
Server
Type
ConVar
Reference value
5
Documented values
seconds
CS2 reference
Details →
mp_teammatchstat_txtSpectator · Server

Sets the custom description accompanying match statistics.

Syntax & details
mp_teammatchstat_txt [text]

Example

mp_teammatchstat_txt "Match 1 of 3"
Category
Spectator
Context
Server
Type
ConVar
Reference value
""
Documented values
text
CS2 reference
Details →
mp_teamscore_1Spectator · Server

Sets the first team's displayed map-win tally in a series.

Syntax & details
mp_teamscore_1 [series map wins]

Example

mp_teamscore_1 1
Category
Spectator
Context
Server
Type
ConVar
Reference value
0
Documented values
series map wins
CS2 reference
Details →
mp_teamscore_2Spectator · Server

Sets the second team's displayed map-win tally in a series.

Syntax & details
mp_teamscore_2 [series map wins]

Example

mp_teamscore_2 1
Category
Spectator
Context
Server
Type
ConVar
Reference value
0
Documented values
series map wins
CS2 reference
Details →
mp_teamscore_maxSpectator · Server

Sets the number of maps required to win a series on the broadcast display.

Syntax & details
mp_teamscore_max [0–7]

Example

mp_teamscore_max 2
Category
Spectator
Context
Server
Type
ConVar
Reference value
0
Documented values
0–7
CS2 reference
Details →
spec_autodirectorSpectator · Client

Allows the automatic observer director to choose viewing modes.

Syntax & details
spec_autodirector [0 or 1]

Example

spec_autodirector 1
Category
Spectator
Context
Client
Type
ConVar
Reference value
0
Documented values
0 or 1
CS2 reference
Details →
spec_centerchasecamSpectator · Client

Centers the chase camera on the observed player rather than their eye position.

Syntax & details
spec_centerchasecam [0 or 1]

Example

spec_centerchasecam 1
Category
Spectator
Context
Client
Type
ConVar
Reference value
0
Documented values
0 or 1
CS2 reference
Details →
cl_drawhud_specvoteSpectator · Client

Hide the vote interface while spectating.

Syntax & details
cl_drawhud_specvote [value]

Example

cl_drawhud_specvote false
Category
Spectator
Context
Client
Type
ConVar
Reference value
true
Documented values
true / false (boolean)
CS2 reference
Details →
cl_obs_interp_enableSpectator · Client

Control smooth transitions between spectator targets.

Syntax & details
cl_obs_interp_enable [value]

Example

cl_obs_interp_enable false
Category
Spectator
Context
Client
Type
ConVar
Reference value
true
Documented values
true / false (boolean)
CS2 reference
Details →
cl_spec_show_bindingsSpectator · Client

Toggle the on-screen spectator key hints.

Syntax & details
cl_spec_show_bindings [value]

Example

cl_spec_show_bindings false
Category
Spectator
Context
Client
Type
ConVar
Reference value
true
Documented values
true / false (boolean)
CS2 reference
Details →
spec_freeze_deathanim_timeSpectator · Server

Set how long the death view follows the ragdoll before entering freeze-camera mode.

Syntax & details
spec_freeze_deathanim_time [value]

Example

spec_freeze_deathanim_time 0.8
Category
Spectator
Context
Server
Type
ConVar
Reference value
0.800000
CS2 reference
Details →

Copy manually

Clipboard access is unavailable. Select and copy the text below.