Garry's Mod

Garry's Mod

134 ratings
Quick Weapon Addon
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Fun
File Size
Posted
Updated
5.084 KB
6 Mar, 2017 @ 10:06am
5 Apr, 2017 @ 9:56am
16 Change Notes ( view )

Subscribe to download
Quick Weapon Addon

In 1 collection by cuts
Nocrex Sandbox
52 items
Description
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
Popular Discussions View All (2)
10
20 Apr, 2019 @ 5:46am
PINNED: Suggestions
cuts
3
21 Dec, 2020 @ 11:02am
PINNED: Bugs/Errors
cuts
21 Comments
BioXP 29 May, 2023 @ 8:20am 
I wish there was more weapon slots
Samir Al-Hajeed 8 Aug, 2022 @ 7:46am 
The option to change the key bind is super finicky
Umisaurus 6 Nov, 2021 @ 8:58am 
great addon the only problem I have is that there's only 4 weapon slots
Lolexx 14 Dec, 2020 @ 6:18pm 
its not working :/
Manufractured 3 Feb, 2019 @ 2:54pm 
what option in the spawnmenu
Darrel714 10 Nov, 2018 @ 6:36am 
Thank you so much! This was very very helpful! Great job with this addon! I really like it. Aain, thanks!
cuts  [author] 8 Nov, 2018 @ 10:24pm 
There is an option in the spawnmenu to do that. Look at the bottom of the settings
Darrel714 8 Nov, 2018 @ 6:30pm 
Nvm it works just it's bound to numpad 5. What EXACTLY should I write in the console to change it to Alt?
Darrel714 8 Nov, 2018 @ 6:06pm 
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 22 Apr, 2018 @ 9:51am 
Nvm