Below is CSDB's searchable list of all CS2 console commands. Each command in our database has in-depth insights on each command, with help and argument details (simply hover over a command to view).
How to Use CS:GO & CS2 Commands
First, turn on the developer console. Go to Settings > Game Settings and switch "Enable Developer Console" to Yes.
Press the ` or ~ key on your keyboard to open the console.
Type in a command, or copy it from here, hit ENTER, and you’re good to go!
Sets the maximum distance from your player where the fog ends. A higher value pushes the fog farther away. Use -1 to reset to the default setting. Fog appears between the fog_start value and this fog_end distance.
Use this command to enable or disable overriding the map's fog settings. Setting it to 1 lets you customize fog yourself, while 0 uses the default map settings.