This article's documentation is for the "GoldSrc" engine. Click here for more information.
This article's documentation is for anything that uses the Source engine. Click here for more information.
This article's documentation is for Source 2. Click here for more information.

god

From Valve Developer Community
Jump to navigation Jump to search
English (en)Translate (Translate)

god is a console command available in all GoldSrc GoldSrc, Source Source, and Source 2 Source 2 games. This command makes you invincible, which means that you will not taking any damage at all. It requires sv_cheats 1 to work.

In most Source Source games (aswell as Source 2 Source 2), simply type 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.

In Left 4 Dead 2 Left 4 Dead 2, players need to type god 1 in order to enable it, and god 0 to disable it.

Icon-Bug.pngBug:God mode will NOT work in multiplayer, even if sv_cheats is enabled.
Note.pngNote:How about Left 4 Dead 2 Left 4 Dead 2?
  [todo tested in ?]

See also

  • buddha, a similar command that allows the player to take damage until they're at 1HP.