God: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Kr0tchet moved page God to God/en: Prepare to add MultiPage.)
mNo edit summary
Line 1: Line 1:
{{lang}}{{Console command}}
{{langsp}}{{Console command}}
'''<code>god</code>''' is a console command that prevents you from taking any damage. It requires <code>[[sv_cheats]] 1</code> to work.
'''{{code|god}}''' is a console command that prevents you from taking any damage. It requires {{code|[[sv_cheats]] 1}} to work.


Simply type <code>god</code> in the console to enable it. If it worked, a message will print to the console saying "godmode ON". To disable it, type <code>god</code> again. It should say "godmode OFF" in the console.
Simply type {{code|god}} in the console to enable it. If it worked, a message will print to the console saying "{{code|godmode ON}}". To disable it, type <code>god</code> again. It should say "{{code|godmode OFF}}" in the console.


{{bug|God mode will NOT work in multiplayer, even if <code>sv_cheats</code> is enabled.|since=}}
{{bug|God mode will NOT work in multiplayer, even if {{code|sv_cheats}} is enabled.|since=}}


==See Also==
==See Also==
*{{ent|buddha}}, a similar command that allows the player to take damage until they're at 1 hp.
*{{ent|buddha}}, a similar command that allows the player to take damage until they're at 1 hp.
[[Category:Console Commands]]

Revision as of 03:48, 13 August 2023

English (en)Translate (Translate)

Template:Console command

god is a console command that prevents you from taking any damage. It requires sv_cheats 1 to work.

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.

Icon-Bug.pngBug:God mode will NOT work in multiplayer, even if sv_cheats is enabled.  [todo tested in ?]

See Also

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