How Do I Make Binds?

76 views
How Do I Bind in Garry's Mod?

Well, for any Valve game, binds are the same. Here's how to do it.

I'm going to use the keys I use for binds and what they are associated with as examples.

Basically, the format to bind is this.

1- Open the console to the game.
2- Begin typing the command you want.
bind [key] [command]

That's the dead basic of it, but it has some useful info.
    1- For the command, you need quotations (").
    2- bind is the bind command, obviously.
    3- The binding key does not need quotations.

Now, let's say you need a counter bind. Usually it's just "COUNTER" in the advert chat. But how do you do this? Well, it's easy.
bind [key] "say /advert COUNTER"

The 'say' command types in chat. Anything you type after 'say' will be said in the chat. The advert command is seen by the game chat and does what it would normaly do. /advert is the in-game chat needed for important actions, such as mugging, stealing, raiding, etc. I type in [key] as a place holder, so what you have to do is place your own key into that area, as shown.
bind k "say /advert COUNTER"

That binds my 'k' key to now say COUNTER in the /advert format of chat.

Multiple Commands With One Bind
This works with any command you may need, but you can also put multiple commands to one key. How? Here's how.
bind k "say This is my suicide key;kill"


The semi-colon (;) seperates commands. This makes the game type 'This is my suicide key' then kills me. (THIS MAY CURRENTLY BE WRONG, YOU MAY TRY TO TEST BUT I WILL ALSO TEST AND FIX LATER IF IT IS INCORRECT)


This is the basics of it, if you need more help with the game you may message me on Discord with questions you may have and I will get back to you as soon as I can. I may add more onto this help later on.
Reply