Garry's Mod

Garry's Mod

199 ratings
Simple spawnmenu toggle
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Build, Fun
File Size
Posted
Updated
10.712 KB
19 Oct, 2023 @ 8:43pm
11 Feb, 2024 @ 1:09pm
5 Change Notes ( view )

Subscribe to download
Simple spawnmenu toggle

Description
(Yes, I am aware the F1 key exists. See below.)


What is this?
Just a little clientside script to toggle the spawnmenu or context menu open and closed using the normal binds, instead of having to hold the key down the whole time.


How do I use this?
Press subscribe, start a game, and press your normal spawnmenu/context menu key.
There is a config menu under the utilities tab of the spawnmenu if anything needs adjusting.


What is "Don't toggle when key held"?
During testing I would sometimes forget about the toggle and hold down the key anyway, so by default the script will detect when either toggle key has been held for more than a second and will use the normal hold-key-to-see-menu behaviour instead.

Hopefully this should feel pretty natural and unobtrusive, but if not then you can adjust the timing or disable the feature entirely in the ingame config menu by unticking the "Don't toggle when key held" option.


Why do I need this? Can't I just press F1 to toggle the spawnmenu?
There are a few differences between this and just using the F1 key worth noting:
▸ Toggle with F1 only works in sandbox, or gamemodes that specifically implemented it. ▸ This should work in any sandbox-derived gamemode. (Like DarkRP, for example.) ▸ This addon also allows you to toggle the context menu without holding down the C key. ▸ Still works if a server repurposes the "gm_showhelp" (F1) concommand. (MOTD, help, etc) ▸ Has some extra QoL / Convenience features, see "Don't toggle when key held" above. ▸ Easily customised via the ingame menu without using the console. (Q → Utilities) ▸ Saves laptop players from awkwardly pressing FN + F1 to toggle the menu.
This is just a quick script I whipped up for personal use and am now releasing here just in case anyone might find it handy. Use whatever works for you.


Bugs, issues, & feedback
If you've encountered an error with this addon then please let me know in a comment and I'll get it fixed.





Attribution: Thumbnail Q key icon made by Kliwir Art, sourced from FlatIcon.com
43 Comments
Aryterst 8 Apr @ 9:10pm 
Yup still works
UneceZombine 26 Feb @ 9:32am 
Does this work after the spawn menu update of 2024?
andreycdjm11 1 Feb @ 9:38am 
bro, can you make another script to make it a third open script because I play zombies and there are 2 spawnsmenu and it won't let me open the classic one
Wayback 8 Jan @ 6:57pm 
It's a nice quality of life but goddamn muscle memory refuses to have this embedded into my brain, lol.
evil foll ginlan davbrer witer 7 Aug, 2024 @ 9:37pm 
i think this was the first mod ive ever subscribed to
TheGalaxyRabbit 30 Jul, 2024 @ 4:11pm 
ok, looked into and I think somethings going wrong on my end, I don't think it's installing properly.

thanks for looking either way
Sony  [author] 29 Jul, 2024 @ 6:45pm 
@TheGalaxyRabbit
Hmm, I've looked into it and everything seems to work fine on my end.
When you say it stopped working, is the addon producing any errors?

Could you check if the settings are okay in the spawnmenu config?
( Q -> Utilities -> Menu toggles )
TheGalaxyRabbit 29 Jul, 2024 @ 1:35pm 
me and my friend have been using this for a while and all was fine but it suddenly stopped working, zero idea why
raingr0ve 15 Jul, 2024 @ 9:14am 
How did you change the font in the spawnmenu?
Sony  [author] 13 Apr, 2024 @ 10:28pm 
@All Cops Aktiebolag - Oh that's just one of my old attempts at a dark mode theme.

Unfortunately I don't have the files for it anymore, but you could always try WLKRE's Github Dark theme or DBot's Flat black skin if you're looking for something similar?