Load the game with the "hl.exe -dev -toconsole" command line. Then while playing a game, press ~ to display the console and type "sv_cheats 1" to enable cheat mode. Then, press ~ and enter one of the following codes to activate the corresponding cheat function: