Enable the developer console:
Go to Settings > Game Settings and set "Enable Developer Console" to "Yes".
Press ` or ~ on your keyboard.
Enter a command and hit ENTER on your keyboard to run it!

Commands List
Command | Description | More | Syntax |
---|---|---|---|
sv_water_slow_amount | Sets the amount by which player movement is slowed in water. | Examples, Generator & More | sv_water_slow_amount <Slowness Amount> |
tv_listen_voice_indices | This command is used to specify which player's voice messages can be heard when watching a game through SourceTV. By default, no player voices are heard. | Examples, Generator & More | tv_listen_voice_indices <Bitfield> |
tv_listen_voice_indices_h | This command sets the high 32 bits of a bitfield representing player slots from which to listen to voice messages when connected to SourceTV. By default, no slots are set to listen. | Examples, Generator & More | tv_listen_voice_indices_h <Bitfield Value> |
ui_show_subscription_alert | This command controls the visibility of subscription alerts in the user interface. | Examples, Generator & More | ui_show_subscription_alert <0 / 1> |
unbindall | This command removes all binds from all keys. Note that this will remove binds from keys like W, A, S and D, so you won't be able to move until re-binding. | Examples, Generator & More | unbindall |
violence_hgibs | This command controls whether human gib (giblets or fragments from player models caused by explosions or damage) are shown in the game. | Examples, Generator & More | violence_hgibs <0 / 1> |
battery_saver | This is an obsolete command that was replaced by mobile_fps_* commands. Originally, it was used to toggle battery saver mode on or off. | Examples, Generator & More | battery_saver <0 / 1> |
bot_allow_grenades | This command, if set to 1, allows bots to use grenades. Default is 1, set to 0 to disallow. | Examples, Generator & More | bot_allow_grenades <0 / 1> |
bot_allow_machine_guns | This command, if set to 1, allows bots to use machine guns. Default is 1, set to 0 to disallow. | Examples, Generator & More | bot_allow_machine_guns <0 / 1> |
bot_allow_pistols | This command, if set to 1, allows bots to use pistols. Default is 1, set to 0 to disallow. | Examples, Generator & More | bot_allow_pistols <0 / 1> |
bot_allow_rifles | This command, if set to 1, allows bots to use rifles. Default is 1, set to 0 to disallow. | Examples, Generator & More | bot_allow_rifles <0 / 1> |
bot_allow_rogues | This command, if set to 1, allows bots to "go rogue" randomly, when bots are rogue, they don't respond to radio commands. Default is 1, set to 0 to disallow. | Examples, Generator & More | bot_allow_rogues <0 / 1> |
bot_allow_shotguns | This command, if set to 1, allows bots to use shotguns. Default is 1, set to 0 to disallow. | Examples, Generator & More | bot_allow_shotguns <0 / 1> |
bot_allow_snipers | This command, if set to 1, allows bots to use sniper rifles. Default is 1, set to 0 to disallow. | Examples, Generator & More | bot_allow_snipers <0 / 1> |
bot_allow_sub_machine_guns | This command, if set to 1, allows bots to use SMGs. Default is 1, set to 0 to disallow. | Examples, Generator & More | bot_allow_sub_machine_guns <0 / 1> |
bot_coop_force_throw_grenade_chance | This command sets the chance a bot has of forcefully throwing a grenade in a coop mission. | bot_coop_force_throw_grenade_chance <0 - 1> | |
bot_coop_idle_max_vision_distance | This command sets the maximum distance at which bots can see enemies in cooperative missions when they are idle, dormant, hiding or asleep. | Examples, Generator & More | bot_coop_idle_max_vision_distance <Distance> |
bot_ignore_players | This command, if set to 1, will make bots be unable to see/react to players that aren't bots. Default is 0 (disabled). | Examples, Generator & More | bot_ignore_players <0 / 1><0 / 1> |
bot_kick | This console command is used to kick bots from the server. You can select from kicking all bots, a certain team's bots, or only bots of a certain difficulty depending on what values you enter with the command. | Examples, Generator & More | bot_kick <Kick Criteria> |
bot_mimic_spec_buttons | This command, when enabled, allows the spectator to use control inputs such as +attack, +jump, etc., for their own control rather than passing them on to the bot they are spectating. This is primarily used in a cheat or debug context to observe bot behavior without interfering with their actions. | Examples, Generator & More | bot_mimic_spec_buttons <0 / 1> |