Garry's Mod

Garry's Mod

134 个评价
Quick Weapon Addon
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 工具
插件标签: 快乐
文件大小
发表于
更新日期
5.084 KB
2017 年 3 月 6 日 上午 10:06
2017 年 4 月 5 日 上午 9:56
16 项改动说明 ( 查看 )

订阅以下载
Quick Weapon Addon

在 cuts 的 1 个合集中
Nocrex Sandbox
52 件物品
描述
Have you ever been in a situation where you needed a weapon, but didn´t have the time to open the spawnmenu? Well then this addon is for you. This addon basically lets you quickly access four weapons of your choice. The quick access menu can be opened with the ALT key by default, but you can change that in the options. When you hold the key (ALT by default, for those who didn´t get it) the menu will pop up. Then if you hover your mouse cursor over one of the weapons and release the key you will get that weapon. (wow that was a sh*tty explaination)
-------------------------------
Commands:
quickwep_give(1-4) - Gives the player the desired wepon
quickwep_setactivewep(1-4) - Sets the active weapon to be given to the player when he executes quickwep_give or selects it in the quick access menu
-------------------------------
ConVars
(all clientside):
quickwep_ammo(1-4) - how much ammo the player will get when he gives himself this weapon
quickwep_giveammo(1-4) - whether ammo should be given or not (default is 1)
quickwep_weapon(1-4) - the weapon that the player gets
quickwep_weaponnick(1-4) - the name that will be shown in the quick access menu
quickwep_menu_red - the red value of the quickmenu (def: 0)
quickwep_menu_green - the same as above, but for green (def: 0)
quickwep_menu_blue - the same, but for blue (def: 0)
quickwep_menubutton - the button to open the quick access menu with (Note that this is the number of the key. If you don´t know the number of a key, then use the options in the spawnmenu.)
All the ConVars can be changed through the options in the spawnmenu.


-------------------------------
Troubleshooting:

I get no ammo
Check if you checked 'Give Ammo' in the config menu

There are Bugs/Errors
Post your bug/error in the Bugs/Error Discussion. I'll try to fix it.
-------------------------------

Known Issues
Currently None. Yay :D

ToDo List
Fix ammo problem
Move config to spawn menu
(Maybe)Add quick access menu
(Maybe)Add admin control panel

-------------------------------

This addon should work with any weapon and gamemode. Do note that if you try to use it in a gamemode that uses different weapons than sandbox (like ttt), you can´t spawn in sandbox weapons.

If you have any suggestions, please let me know in the Suggestions discussion

QuickToolAddon
热门讨论 查看全部(2)
10
2019 年 4 月 20 日 上午 5:46
置顶: Suggestions
cuts
3
2020 年 12 月 21 日 上午 11:02
置顶: Bugs/Errors
cuts
21 条留言
BioXP 2023 年 5 月 29 日 上午 8:20 
I wish there was more weapon slots
Samir Al-Hajeed 2022 年 8 月 8 日 上午 7:46 
The option to change the key bind is super finicky
Umisaurus 2021 年 11 月 6 日 上午 8:58 
great addon the only problem I have is that there's only 4 weapon slots
Lolexx 2020 年 12 月 14 日 下午 6:18 
its not working :/
Manufractured 2019 年 2 月 3 日 下午 2:54 
what option in the spawnmenu
Darrel714 2018 年 11 月 10 日 上午 6:36 
Thank you so much! This was very very helpful! Great job with this addon! I really like it. Aain, thanks!
cuts  [作者] 2018 年 11 月 8 日 下午 10:24 
There is an option in the spawnmenu to do that. Look at the bottom of the settings
Darrel714 2018 年 11 月 8 日 下午 6:30 
Nvm it works just it's bound to numpad 5. What EXACTLY should I write in the console to change it to Alt?
Darrel714 2018 年 11 月 8 日 下午 6:06 
Alt dosnt work for me and I cant seem to change the keybind. Help plz this addon was exactly what I was looking for but then this happened!
AveHortor 2018 年 4 月 22 日 上午 9:51 
Nvm