Useful Garry's Mod and Source Engine Commands

Status
Not open for further replies.
List of useful Garry's Mod and Source Engine commands you can use in-game.

Console CommandDetailsExamples
bind <key> [binding]Binds the provided key to the bound action, which can be a console command and therefore a chat command too.
Key names can be found here: https://developer.valvesoftware.com/wiki/Bind
If the binding parameter is not provided, lists what the key is bound to.
bind m "say /radio This is a test message"
bind l "say /waypoint"
unbind <key>Unbinds a key from its action. Be careful not to unbind common controls you would need to set back up.unbind m
unbind F6
key_findbinding <action>Finds the key bound to the action.key_findbinding "say /waypoint"
"l" = "say /waypoint"​
snd_restartRestarts the game's sound system, which fixes many issues such as stuck, broken, or repeating sounds. On Solaris, try /stopsound first.snd_restart
volume <0-1>Sets the volume, allowing you to quickly change it or set binds to change it.volume 0.5
Sets the volume to 50%.​
bind l "volume 1.0"
Creates a bind to set the volume to 100%.​
key_listboundkeysLists bound keys.key_listboundkeys
"l" = "say /waypoint"​
...​
retryReconnects to the server you're currently playing.retry
BindToggle <key> <cvar>A convenient command for toggling a CVar on or off by pressing a key. Functionally identical to bind <key> "incrementvar <CVar> 0 1 1".BindToggle m cl_drawhud
whereis <file>Finds the addon, game, or mounted content that a file is loaded from. Useful for figuring out what addon is overriding certain models.whereis models/astronet_combine_props/food/popcan01a.mdl
'Astronet Solaris HL2RP Combine Pack'​
Each parameter is surrounded <like this>, but do not include the < and > symbols themselves. For parameter inputs that are multiple words (strings), use quotes.
 
Last edited:
  • Like
Reactions: Law and bobo02479
Status
Not open for further replies.

Users who are viewing this thread