con_enable Command


con_enable [0 / 1]

This is the command used to toggle whether or not you can access the developer console.

Arguments


Arguments are parameters that you add to a command. Find information about this command's arguments below.

0 / 1Enter a 1 after the command to turn the console on, and a 0 after the command to turn it off. Since this is to enable the console though, you can't turn it on through this command, and if you disable the console you won't be able to re-open it through commands. Go to your Settings > Game Settings > Enable Developer Console "Yes".

Extra Info

Sv_cheats Required? No
Client or Server Command? Both
Default Value 1

con_enable Examples


Find below working examples of this command (copy and paste into console).


con_enable 0

Disables the console. Must be reopened through the game settings.