Garry's Mod

Garry's Mod

评价数不足
Quick Tool Addon
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 工具
插件标签: 快乐
文件大小
发表于
更新日期
4.428 KB
2017 年 4 月 2 日 上午 9:23
2017 年 4 月 5 日 上午 9:56
3 项改动说明 ( 查看 )

订阅以下载
Quick Tool Addon

描述
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 条留言
Eric 2018 年 5 月 6 日 上午 3:46 
There's a typo in the "Commands" section in the description above
Prosecutor Lurker 2017 年 5 月 10 日 上午 7:31 
Great addon, is it possible to increase the active number to something like 10?