Sv cheats: Difference between revisions
Jump to navigation
Jump to search
Important:In older version of
GoldSrc, prior to an update (since SteamPipe or 2019 update), a map restart, changelevel, or simply save and reload game is required in order to fully enable Cheats.
No edit summary |
(hdtf gives an achievement for turning sv_cheats on is useless information) |
||
Line 7: | Line 7: | ||
{{Syntax|sv_cheats <boolean>}} | {{Syntax|sv_cheats <boolean>}} | ||
{{Bug|tested={{hl2}}|Enabling cheats, optionally use any command marked as cheats, then disabling cheats, [[save]] (after disabling cheats) & [[load]] the game will allow you to earn achievements again.}} | {{Bug|tested={{hl2}}|Enabling cheats, optionally use any command marked as cheats, then disabling cheats, [[save]] (after disabling cheats) & [[load]] the game will allow you to earn achievements again.}} | ||
Line 15: | Line 12: | ||
{{Important|In older version of {{gldsrc|4}}, prior to an update (since SteamPipe or 2019 update), a map restart, [[changelevel]], or simply [[save]] and [[load|reload]] game is required in order to fully enable Cheats.}} | {{Important|In older version of {{gldsrc|4}}, prior to an update (since SteamPipe or 2019 update), a map restart, [[changelevel]], or simply [[save]] and [[load|reload]] game is required in order to fully enable Cheats.}} | ||
= | {{expand|title=Third-Party notices {{tsp}}| | ||
{{note|In {{tsp|4}} (excluding the Demo), this command will briefly turn on and off, then send the user to "The Serious Room", ending their save game. This can be bypassed by replacing the bin\client.dll from the paid version with the demo one.}} | |||
}} | |||
== See also == | |||
Below are some typical cheats which gamers may find useful. Developers may also find these useful for bug testings and specific testing on in-game worlds. | Below are some typical cheats which gamers may find useful. Developers may also find these useful for bug testings and specific testing on in-game worlds. | ||
Line 25: | Line 25: | ||
* {{cmd|noclip}} - Toggle the player collision with the environment and other objects. Allows the player to fly through walls, etc. Type again to turn off. | * {{cmd|noclip}} - Toggle the player collision with the environment and other objects. Allows the player to fly through walls, etc. Type again to turn off. | ||
* {{cmd|notarget}} - Toggle NPC detection of the player. The player will still activate [[trigger]] entities, etc. Type again to turn off. | * {{cmd|notarget}} - Toggle NPC detection of the player. The player will still activate [[trigger]] entities, etc. Type again to turn off. | ||
[[Category:Dedicated Server]] | [[Category:Dedicated Server]] |
Revision as of 07:26, 12 May 2025
sv_cheats
is a console variable available in all Source games.
This boolean cvar enables/disables cheats on the server. In most games, enabling cheats will disable achievements.
It also gives you access to commands that would normally be abused or misused by players. When building maps, you may want this as a startup command.
Syntax: sv_cheats <boolean>


![]() ![]() |
See also
Below are some typical cheats which gamers may find useful. Developers may also find these useful for bug testings and specific testing on in-game worlds.
- god - "God Mode": Player becomes invincible. Type again to turn off.
- impulse 101 - Equip the player with a full loadout of equipment, or gives player max money amount ($16000) in all Counter-Strike games.
- impulse 203 - Remove an entity.
- give <entity name> - Give the player the item, weapon, entity or asset stated.
- noclip - Toggle the player collision with the environment and other objects. Allows the player to fly through walls, etc. Type again to turn off.
- notarget - Toggle NPC detection of the player. The player will still activate trigger entities, etc. Type again to turn off.