con_enable [0 / 1]
This is the command used to toggle whether or not you can access the developer console.
Arguments are parameters that you add to a command. Find information about this command's arguments below.
|0 / 1||Enter 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".|
|Client or Server Command?||Both|
Find below working examples of this command (copy and paste into console).
Disables the console. Must be reopened through the game settings.