Garry's Mod

Garry's Mod

Not enough ratings
Quick Tool Addon
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Fun
File Size
Posted
Updated
4.428 KB
2 Apr, 2017 @ 9:23am
5 Apr, 2017 @ 9:56am
3 Change Notes ( view )

Subscribe to download
Quick Tool Addon

Description
This addon lets you specify four tools, that can later be accessed by pressing the - key. When you press the - key, a menu will pop up and you can select one of the four tools. The key can be changed in the options.
-------------------------------
Commands:
quicktool_give(1-4) - Gives the player the desired tool
quicktool_setactive(1-4) - Sets the currently selected tool (so eg. quicktool_setactive1 sets the tool for quicktool_tool1)
-------------------------------
ConVars:
(all clientside)
quicktool_tool(1-4) - the tool the player has set for a specific slot
quicktool_menubutton - the button to open the quick access menu with
quicktool_menu_red - the red value of the quickmenu (def: 0)
quicktool_menu_green - the same, but for green (def: 160)
quicktool_menu_blue - the same, but for blue (def: 255)

Don´t mess around with these. I would recommend to use the settings in the spawnmenu instead.
-------------------------------
Troubleshooting:

I get this error when trying to open the quick access menu:
[ERROR] addons/quicktool/lua/autorun/client/cl_quicktoolmenu.lua:74: attempt to index a nil value 1. v - addons/quicktool/lua/autorun/client/cl_quicktoolmenu.lua:74 2. unknown - lua/includes/modules/hook.lua:84
If you get this error, then you have an invalid tool name set for one of the slots. Try using the Set Current Tool button instead.
-------------------------------
Known Issues
Currently none. Yay :D
-------------------------------

QuickWeaponAddon
2 Comments
Eric 6 May, 2018 @ 3:46am 
There's a typo in the "Commands" section in the description above
Prosecutor Lurker 10 May, 2017 @ 7:31am 
Great addon, is it possible to increase the active number to something like 10?