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
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.
Name | Description |
---|---|
Entity Type |
The type of entity you want to create. |
test_dispatcheffect
Test_EHandle
test_entity_blocker
This command immediately terminates the game process using the specified exit code.
Name | Description |
---|---|
Exit Code |
The exit code to terminate the game process with. |
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.
Name | Description |
---|---|
Milliseconds |
Your desired think limit, in milliseconds. |
This command puts you in third person mode. Use firstperson to return.
thirdperson_lockcamera
thirdperson_mayamode
timedemo
timedemoquit
This command prints to console the amount of time that remains in the match.
timeout_ct_start
timeout_terrorist_start
The command will toggle a convar on and off (between 0 and 1), or cycle it through its values.
Name | Description |
---|---|
Command |
The command (convar) you wish to toggle. |
Values |
Optional. If you don't specify any values here, the command will be toggled between 0 and 1. Specify a list of values to toggle through, separated by spaces (e.g. "0 1 2 3" without quotes). |
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)./