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 |
---|---|---|---|
Test_CreateEntity | Creates an entity of the specified type for testing purposes. This command is generally used in testing environments and requires cheat mode to be enabled. |
Examples, Generator & More | Test_CreateEntity
<Entity Type>
|
test_dispatcheffect | test_dispatcheffect
|
||
Test_EHandle | Test_EHandle
|
||
test_entity_blocker | test_entity_blocker
|
||
Test_ExitProcess | This command immediately terminates the game process using the specified exit code. |
Examples, Generator & More | Test_ExitProcess
<Exit Code>
|
think_limit | This command sets the maximum think time in milliseconds. If the think time exceeds this amount, a warning will be printing to console. Set to 0 to disable. |
Examples, Generator & More | think_limit
<Milliseconds>
|
thirdperson | This command puts you in third person mode. Use firstperson to return. |
Examples, Generator & More | thirdperson
|
thirdperson_lockcamera | thirdperson_lockcamera
|
||
thirdperson_mayamode | thirdperson_mayamode
|
||
timedemo | timedemo
|
||
timedemoquit | timedemoquit
|
||
timeleft | This command prints to console the amount of time that remains in the match. |
Examples, Generator & More | timeleft
|
timeout_ct_start | timeout_ct_start
|
||
timeout_terrorist_start | timeout_terrorist_start
|
||
toggle | The command will toggle a convar on and off (between 0 and 1), or cycle it through its values. |
Examples, Generator & More | toggle
<Command><Values>
|
toggleconsole | This command toggles visibility of the console. Obviously if the console is closed, you can't use this command - it is primarily used in binds (where you can execute commands without the console being open)./ |
Examples, Generator & More | toggleconsole
|
tv_advertise_watchable | tv_advertise_watchable
|
||
tv_allow_autorecording_index | tv_allow_autorecording_index
|
||
tv_allow_camera_man_steamid | tv_allow_camera_man_steamid
|
||
tv_allow_camera_man_steamid2 | tv_allow_camera_man_steamid2
|