Half-Life 1 Console Commands

< td>Type in the console while cheats are enabled.
Command Description How to Use
sv_cheats 1 Enables cheat commands. Type in the console to activate cheats.
god Enables god mode (invincibility). Type in the console while cheats are enabled.
noclip Allows you to fly through walls. Type in the console while cheats are enabled.
give [item] Gives you the specified item. Type in the console followed by the item name (e.g., give weapon_ak47).
impulse 101 Gives you all weapons and ammo. Type in the console while cheats are enabled.
map [mapname] Loads a specific map. Type in the console followed by the map name.
cl_showfps 1 Displays the current frames per second (FPS). Type in the console to enable FPS display.
sv_gravity [value] Changes the gravity in the game. Type in the console followed by a value (default is 800).
thirdperson Switches to third-person view. Type in the console while cheats are enabled.
exit Exits the game. Type in the console to close the game.
sv_infinite_ammo 1 Gives you infinite ammo.
cl_righthand 0 Switches weapon to left hand. Type in the console to switch hands.
cl_righthand 1 Switches weapon to right hand. Type in the console to switch hands.
Binding Command Description Example
bind [key] [command] Binds a key to a specific command. bind f1 "impulse 101" (binds F1 to give all weapons and ammo)
unbind [key] Unbinds a key from its current command. unbind f1 (unbinds F1 from its current command)
bindtoggle [key] [command] Toggles a command on and off when a key is pressed. bindtoggle f2 "cl_showfps 1" (toggles FPS display on and off with F2)
alias [alias] [command] Creates an alias for a command. alias +heal "give item_healthkit" (creates an alias "+heal" for giving a health kit)