Garry's Mod

Garry's Mod

552 ratings
Useful Commands for Garry's Mod
By Morgeta
This guide will show how console commands are useful and fun in Garry's Mod.
4
   
Award
Favorite
Favorited
Unfavorite
Beginning
Today I will be teaching you good commands for Garry's Mod
First of all we need to get the console up
  • Press Escape or go to the Main Menu.
  • Go to Options then Keyboard.
  • After that go to Advanced then enable Developer Console.
Binds
Now that we got our console up and running let's try some commands

First let's start with some binds
Now a bind is you can press a button on your keyboard or mouse then will do a command from console.
Example: bind [key] [command]
Now let's say if I want to talk by pressing a button type this command-bind b "say This is a bind message."
You can run as many commands as you want with a single bind. They must be in quotations and every command is seperated with a semicolon.
Example: bind [key] "[command];[extra command];[extra command]"
Here is an example of extra command usage by killing yourself and sending a message in chat at the same time.(This doesn't always work.)
bind k "say Morgeta tripped over himself and landed on a spike.;kill"
Numpad

There are some keys that are useless like your numpad.
Here are all the keys on the keyboard that need to be typed like this instead of just that key.

  1. Numpad 0 - KP_INS
  2. Numpad 1 - KP_END
  3. Numpad 2 - KP_DOWNARROW
  4. Numpad 3 - KP_PGDN
  5. Numpad 4 - KP_LEFTARROW
  6. Numpad 5 - KP_5
  7. Numpad 6 - KP_RIGHTARROW
  8. Numpad 7 - KP_HOME
  9. Numpad 8 - KP_UPARROW
  10. Numpad 9 - KP_PGUP
  11. Numpad Dot or . - KP_DEL
  12. Numpad ENTER - KP_ENTER
  13. Numpad + - KP_PLUS
  14. Numpad - - KP_MINUS
  15. Numpad * - KP_MULTIPLY
  16. Numpad / - KP_SLASH
  17. Numpad next to Slash - KP_NUMLOCK
Acts
Now let's get to the part you're all here for
Let's start with the act commands that make an action like in DarkRP.
Here are the act commands you can use.
WARNING:THESE COMMANDS DON'T WORK ON SOME SERVERS

  1. act robot - Slowly moving arms like a robot.
  2. act muscle - Sexy Dance.
  3. act laugh - Laughs while pointing forward.
  4. act bow - A bow like bowing after a wonderful performance.
  5. act cheer - Cheer like you are cheering for your football team. Both arms pumping in the air.
  6. act wave - A friendly wave.
  7. act becon - Hand signal telling someone to come to you.
  8. act agree - Thumbs up while nodding their head.
  9. act disagree - The naughty finger with a naughty shaking of the head.
  10. act forward - Hand signal telling someone else to proceed.
  11. act group - Hand signal for everyone to group up.
  12. act halt - Hand signal for halt.
  13. act zombie - Wobbles left and right like a zombie with both hands raised and leaning back.(Moonwalk Time-#RememberMichaelJackson)
  14. act dance - Dance like the BeeGees.
  15. act pers - Crane like pose.
TTT Console Commands
WARNING:THESE COMMANDS WILL ONLY WORK IF YOU ARE ADMIN OR ON TTT.

    Admin-only commands
  1. ttt_roundrestart
    Triggers the round to restart, will go immediately to a new round in the form of a new preparation phase. Requires GMod admin/superadmin status, or sv_cheats enabled.

  2. ttt_print_traitors
    Prints who are the traitors. Requires admin status, or RCON.

  3. ttt_print_adminreport
    Prints who killed who. Requires admin status/RCON.

  4. ttt_print_usergroups
    Prints everyone's usergroup, for debugging gmod admin status.

  5. ttt_highlight_admins
    Set to 0 to make admins not appear gold/yellow on the scoreboard.

    General commands


  6. ttt_version
    Prints current version number.

  7. ttt_dropweapon
    Will drop your current weapon. By default the key that would open the GMod spawn menu (default Q) instead performs this action. You can manually bind it to other keys using this concommand.

  8. ttt_equipswitch
    Switches to slot 7 (your equipment weapon) if you have one. If you have that weapon out, it will instead switch to your previous weapon. So you can quickly toggle to your equipment and back. By default the noclip key (default V) will perform this command if sv_cheats is off (else it will noclip you).

  9. ttt_quickslot [slot number]
    Switches to the given weapon slot without having to use the scroll menu. Switches to previous weapon if you already have the slot's weapon out, so the ttt_equipswitch command is basically just "ttt_quickslot 7".

  10. ttt_toggle_disguise
    Toggles your Disguiser equipment if you have bought it as Traitor. Default key is Numpad Enter, this command can be used to rebind it.

  11. ttt_spectate
    Moves you onto the spectator team. You will not spawn as Terrorist until you use "ttt_spectate 0" to turn this off again. Recommended you use the checkbox in the settings menu under F1 instead.

  12. ttt_print_playercount
    Prints the number of players that were alive at the start of the round.

  13. ttt_print_damagelog
    First enable the convar ttt_log_damage_for_console (set to 1) to enable damage logging. Then use this command to print out the log of the current round. Note that this is a lot of data.

  14. +zoom
    Pops up on the left hand side of the screen. This shows a variety of quickchat options using the keys on your keyboard 1-9.

    More information can be found at: http://ttt.badking.net/help
Other console commands
WARNING:SOME OF THESE COMMAND DON'T WORK ON SOME SERVERS!

find [anything] - Helps with finding commands. If you want to find the command physgun_wheelspeed, but forgot it was, but remember the physgun part. You can type find physgun and it will show you all the commands containing the word physgun.

r_cleardecals - Clears all the decals on the server. Ex.Blood, Bullet Holes, etc. (Only Client Side)

stopsound - Stops any annoying sounds such as repeating sounds. (Only Client Side)

clear - Clears the console of everything in it.

physgun_wheelspeed - Changes the how fast the prop comes back to you. (Good for prop pushing)(Default:10)

quit - Easier for exiting out of the game without going to the main menu.

disconnect - Same thing as quit, but you leave the server.

kill - Kills yourself.

cl_showfps [1 or 2] - Draw fps meter at top of screen (1 = fps, 2 = smooth fps)

cl_cmdrate [10-100] - Lowers ping to impress people, but doesn't lower ping.
It is only client side. does lag more, and normal number is 30 and to lower ping is "cl_cmdrate 100."

fps_max [number] - Sets maximum frames per second. To get no capped fps, just type fps_max 0 or can be set to monitor's refresh rate.

+zoom - Makes you zoom in or if you are in TTT it does quickchat.
Ex."Bind [key] +zoom"

connect [ip] - Connect to a server via IP address. Ex. connect 173.1.1.12:27015

Spawning Props using binds.
First:Right click the prop you want and copy to clipboard.
Second:Bind [key] "gm_spawn COPY+V"
The Copy+V pastes the prop you copied.

If you accidently unbind something

Go to main menu.
Go to options.
Then go to Keyboard tab.
Then find the tab that you accidently unbind and change it back.
The End
All of Console Commands can be found here:http://www.gamerconfig.eu/commands/garrys-mod/
214 Comments
fullWater 10 hours ago 
How do I bind acts
mfreddysw 7 May @ 1:56pm 
if you want to save it you dont have to manually go to cfg files and put a key in instead you can just put "host_writeconfig" in console
Yaya 9 Nov, 2024 @ 12:55am 
dead ass page
Hubert Skeletrix 28 Jul, 2023 @ 6:46pm 
agentpickle it should be bind (key) gmod_admin_cleanup
agentpickle 25 May, 2023 @ 10:32am 
how do i bind the command that cleans everything
Shura 30 Oct, 2021 @ 7:22am 
Yes @janette100, you need to go to cfg files
ArFiX 10 Jul, 2021 @ 8:28am 
:)
JohhnyLemon 24 Jun, 2021 @ 12:36pm 
is there a way to automatically bind keys without having to go to the dev console
Lan 13 May, 2021 @ 11:11pm 
binds are for every server you play on. i used to have *RP* take comms from dead enemy for JVS servers and it works on darkrp.
lo-fikiller23 13 May, 2021 @ 9:53pm 
im not new to gmod but i am new to binding the keys through console for adverts and callouts, do i have to set it up with every server or?