Load game with the command line: hl.exe -dev -toconsole. Then, press ~ if the orange text on the screen does not disappear. During gameplay, press ~ to display the text prompt and type in sv_cheats 1. Press ~ and activate the following cheats by entering the corresponding codes:
NOTE 1: Select a map name from the following list. NOTE 2: Select an item name from the following list.