god is a console command that makes you take no damage. It requires
sv_cheats 1 to work.
god in the console to enable it. If it worked, a message will print to the console saying "godmode ON". To disable it, type
god again. It should say "godmode OFF" in the console.
buddha, a similar command that allows the player to take damage until they're at 1 hp.