Garry's Mod

Garry's Mod

Quick Weapon Menu
GodMode  [developer] 2 Sep, 2014 @ 1:12am
Bugs
If you found a bug this addon you can report it here. i will fix it as soon as i can :)
< >
Showing 1-12 of 12 comments
Cardinal Ash 6 Sep, 2014 @ 1:37pm 
I changed all of the quick menu equipment to cstm weapons, turned on sv_cheats 1 and suicided, then tried to use it. Now it won't change to them (and yes, I typed in the spawn code for them. Example: cstm_pistol_glock17 for the glock 17, but it still won't work regardless if I have sv_cheats on or not)
Global 8 Sep, 2014 @ 7:16pm 
On trying to use this on a multiplayer server, attempting to change the settings (via hitting OK) causes this error to appear:
[ERROR] addons/quick weapon menu/lua/autorun/client/menu.lua:275: Tried to use invalid object (type Panel) (Object was NULL or not of the right type)
1. GetValue - [C]:-1
2. QM_Settings_ButtonClick - addons/quick weapon menu/lua/autorun/client/menu.lua:275
3. DoClick - addons/quick weapon menu/lua/autorun/client/menu.lua:248
4. unknown - lua/vgui/dlabel.lua:206
Cardinal Ash 8 Sep, 2014 @ 7:37pm 
Odd, that's what it says.. although I'm in singleplayer. Although I DO usually break something just by installing it.
GodMode  [developer] 10 Sep, 2014 @ 5:27am 
Cycle, Did you by change leave an input field empty? Because it looks like one of the input fields does not have a value, and thats why lua gets an error when trying to get the (non existing) error
GodMode  [developer] 10 Sep, 2014 @ 5:27am 
though i will fix the script to use a default value when its fails to get a value
GodMode  [developer] 10 Sep, 2014 @ 5:28am 
Eono, i have no idea why it would not give the weapon. did you enter a faulty entity name? in that case you can find an error in the console telling you that it couldnt give you the non existing entity. and if thats not the case i realy dont know what causes it :/ does it give you lua errors?
Cardinal Ash 10 Sep, 2014 @ 8:39am 
It doesn't give me lua errors; surprisingly I haven't had those for a LONG time. cstm_ is the correct value for it, according to the console. It works when I spawn all the weapons in though.
(another example is cstm_rif_ak47 to spawn in the AK47 from the Assault Rifles menu in Extra Customizable Weaponry)
Global 10 Sep, 2014 @ 1:43pm 
Both slots had values. Here's what I had:
weapon_zs_owens (a pistol I ripped and converted to Sandbox), named 'Owens'.
All other fields were left untouched, with their default values.
Last edited by Global; 10 Sep, 2014 @ 1:44pm
Dalton 23 Oct, 2014 @ 5:15pm 
@megatigereye i cant change the weapons in the menu and ive tried everything i can think of ive went to your previous comments pages and got advice from your earlier comments and it still not working it just keeps saying your addon is creating errors and this is wat it keeps saying in the console [Quick Weapon Menu] lua/autorun/client/menu.lua:275: Tried to use invalid object (type Panel) (Object was NULL or not of the right type)
1. GetValue - [C]:-1
2. QM_Settings_ButtonClick - lua/autorun/client/menu.lua:275
3. DoClick - lua/autorun/client/menu.lua:248
4. unknown - lua/vgui/dlabel.lua:206
AND I DONT KNOW WHY so can you please tell me wats wrong?
AlexSFeather 7 Apr, 2016 @ 3:00am 
Upon changing weapons in quick wheel error pops up:

[ERROR] workshop/lua/autorun/client/menu.lua:275: Tried to use invalid object (type Panel) (Object was NULL or not of the right type)
1. GetValue - [C]:-1
2. QM_Settings_ButtonClick - workshop/lua/autorun/client/menu.lua:275
3. DoClick - workshop/lua/autorun/client/menu.lua:248
4. unknown - lua/vgui/dlabel.lua:218

[Leo1250|2|STEAM_0:>>gonna just remove this from here<<] Lua Error:

[ERROR] workshop/lua/autorun/client/menu.lua:275: Tried to use invalid object (type Panel) (Object was NULL or not of the right type)
1. GetValue - [C]:-1
2. QM_Settings_ButtonClick - workshop/lua/autorun/client/menu.lua:275
3. DoClick - workshop/lua/autorun/client/menu.lua:248
4. unknown - lua/vgui/dlabel.lua:218
aerstarr 26 Aug, 2020 @ 3:10pm 
[Quick Weapon Menu] lua/autorun/client/menu.lua:275: Tried to use a NULL Panel!
1. GetValue - [C]:-1
2. QM_Settings_ButtonClick - lua/autorun/client/menu.lua:275
3. DoClick - lua/autorun/client/menu.lua:248
4. unknown - lua/vgui/dlabel.lua:237

i get this when trying to change the weapons
Quite an specific bug:
while using any TFA weapons, the custom TFA menu won't work, it'll open but i won't be able to interact with anything
it can be solved if i hold the keybind for this wheel, but it doesn't feel right to say at least.
< >
Showing 1-12 of 12 comments
Per page: 1530 50