how to turn on cheats for Half Life
1: locate the Half-Life shortcut on your desktop.
2: Right-click the Half-Life shortcut, then select Properties. The file location displays in the target field. It might look similar to this: C:\Program Files\Sierra\Half-Life\hl.exe
3: Add -console after the file. It should now look like this:
C:\Program Files\Sierra\Half-Life\hl.exe" -console
4. Press OK to save the changes and close the window.
5. If you own a Game of the Year version of Half-Life, enter one extra command parameter called -dev. So, the shortcut or path will look like this:
C:\Program Files\Sierra\Half-Life\hl.exe" -dev -console
Press OK to save the changes and close the window.