Hello,
This is a simple guide to binding every item in semi-serious roleplay. I will try to keep this updated and aim to keep it as easy to read through as possible. If I have missed anything or you spot any errors please let me know.
To start off with creating a bind you will need to enable your developer console, you can do this by going to the main menu of Garry’s Mod, going to the “options” menu and then clicking the “advanced…” button and then checking the box next to “enable developer console”.
Now that you have done this, the next step will be for you to press the grave/tilde key on your keyboard. This is found above your TAB key and below your ESC key, this can change depending on which region your keyboard is from.
Once you have pressed this key, your game should pop up with a window similar to the one below and you can type your bind command.
Note: the typical command for binding an item to equip it is as follows, remember to remove the box brackets!
bind [key] “zarp_equipitem [item ID]”
A tip worth remembering is that you can bind multiple items to one key by simply putting a semicolon ( ; ), after each item within the command. For example if you wanted to create a bind that would equip a Gencorp Juggernaut Suit and a minigun 2.0 at the same time, you would do the following:
bind [key] "zarp_equipitem gencorp juggernaut suit; zarp_equipitem weapon_minigun2"
Another thing worth remembering, is to create a bind that will allow you to begin holstering a special weapon the moment it is equipped from your inventory. You can do that by putting a say command followed by “/holster” after the item, again using a semicolon ( ; ).
Here is an example:
bind [key] “zarp_equipitem m9k_milkormgl; say /holster”
The best part about the “zarp_equipitem” command is that it will auto-complete the items ID for you. By putting “zarp_equipitem” in your console and putting roughly the name of the item you want, the console will then auto complete your result.
The command for dropping items is very similar and can be especially useful for situations such as growing or quickly getting onto a hoverboard. This command is not so useful for trying to get rid of items however, as you can only drop a maximum of FIVE items at once, before the server prevents you from dropping anything else. Here is an example of the command to drop items.
zarp_dropitem [key] "[item ID]"
Remember: You cannot use this command to drop more than one item with one command, unless you use a semicolon to put in a copy of the command again. You will still be tied to the maximum of five though.
This command will also auto-complete for you, as the “zarp_equipitem” command does.
Now that you know the basics for keybindings, it is worth knowing that there is so much more you can do with binds other than just equipping or dropping items. Which I will cover in a new thread another time. These things can range from having one keybind to bank or unbank item(s), or a bind to remove items and maybe even a few binds to help with administrative duties, should you need them.