GEEKHUB / COUNTER-STRIKE 2

CS2 Video Commands

Browse documented video console commands.

10 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.

10 commands
CommandDescription & syntaxCompatibilityActions
cl_showfpsVideo · Client

Displays a frame-rate counter; turn it off when no longer needed.

Syntax & details
cl_showfps <0 / 1>

Example

cl_showfps 1
Category
Video
Context
Client
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
r_shadowsVideo · Cheats

Controls shadow rendering in a cheat-enabled environment.

Syntax & details
r_shadows <0 / 1>

Example

r_shadows 1
Category
Video
Context
Cheats
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
fps_maxVideo · Client

Limit game rendering to a chosen frame rate. Set before connecting to a server.

Syntax & details
fps_max <frames per second; 0 disables cap>

Example

fps_max 400
Category
Video
Context
Client
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
fps_max_uiVideo · Client

Set a separate frame-rate limit for the menus.

Syntax & details
fps_max_ui <frames per second; 0 disables cap>

Example

fps_max_ui 120
Category
Video
Context
Client
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
cl_playerspraydisableVideo · Client

Disable player spray visuals.

Syntax & details
cl_playerspraydisable [value]

Example

cl_playerspraydisable true
Category
Video
Context
Client
Type
ConVar
Reference value
false
Documented values
true / false (boolean)
CS2 reference
Details →
cl_ragdoll_limitVideo · Client

Cap the number of displayed ragdolls.

Syntax & details
cl_ragdoll_limit [value]

Example

cl_ragdoll_limit 20
Category
Video
Context
Client
Type
ConVar
Reference value
20
Documented values
-1 disables limit
CS2 reference
Details →
cl_showmemVideo · Client

Display an approximate memory-usage readout.

Syntax & details
cl_showmem [value]

Example

cl_showmem 1
Category
Video
Context
Client
Type
ConVar
Reference value
0
CS2 reference
Details →
cl_ragdoll_workaround_thresholdVideo · Client

Adjust the client fallback threshold for ragdoll placement.

Syntax & details
cl_ragdoll_workaround_threshold [optional value; omit to query]

Example

cl_ragdoll_workaround_threshold
Category
Video
Context
Client
Type
ConVar
Reference value
4.000000
Recorded flags
release
CS2 reference
Details →
cs_minimap_create_output_sizeVideo · Client

Resolution of the generated minimap texture.

Syntax & details
cs_minimap_create_output_size [optional value; omit to query]

Example

cs_minimap_create_output_size
Category
Video
Context
Client
Type
ConVar
Reference value
1024
Recorded flags
clientdll, release
CS2 reference
Details →
anim_resource_validate_on_loadVideo · Client

Validate animation group channels against their loaded animation resources.

Syntax & details
anim_resource_validate_on_load [value (query with no argument)]

Example

anim_resource_validate_on_load
Category
Video
Context
Client
Type
ConVar
Reference value
true
Recorded flags
release
CS2 reference
Details →

Copy manually

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