Instructions
Start up the game and wait until the menu appears. Select "Options."
Choose "Keyboard/Mouse." Click "Allow Developer Console" to open the drop-down menu. Select "Enabled," then exit.
Begin hosting a game by loading a map. Press the tilde--the "~" key--to open the console.
Type "sv_cheats 1" (without the quotation marks) and press "Enter."