God: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(rewrote)
Line 1: Line 1:
<code>god</code> is a cheat that makes you take no damage.<br />
'''<code>god</code>''' is a console command that makes you take no damage. It requires <code>[[sv_cheats]] 1</code> to work.
To enable God Mode, make sure you have the Console Enabled, and sv_cheats 1 <br />
 
Then enter <b>god</b> into the console.
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.
{{warning|God Mode will NOT work in multiplayer, even if sv_cheats is enabled.}}
 
{{bug|God mode will NOT work in multiplayer, even if <code>sv_cheats</code> is enabled.}}
 
==See Also==
*{{ent|buddha}}, a similar command that allows the player to take damage until they're at 1 hp.
 
[[Category:Console Commands]]
[[Category:Console Commands]]

Revision as of 06:47, 14 July 2018

god is a console command that makes you take no 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.