How to Bind Commands in Gmod
-
Enable Developer Console
- This can be done by opening your Gmod Options Menu > Advanced (at the bottom) > Enable Developer Console.
- Use the ~ key to open console once enabled.
- The command to bind a key is "bind <key> <command>"
-
Some examples of what would work
- bind B +drop - Uses the B key to drop a weapon
- bind v "ulx noclip" - Uses the V key to turn on noclip ***HINT: If the command is 2 words you will need to put quotes around it!***
- bind 0 "say /advert This is a robbery" - Uses the 0 key to say "This is a robbery" in advert if you are playing DarkRP.
Edited by Zeeptin
- 2