Garry's Mod

Garry's Mod

213 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
Oct 19, 2023 @ 8:43pm
Feb 11, 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
44 Comments
voidboy13 Aug 31 @ 3:00pm 
thanks for saving my finger
Aryterst Apr 8 @ 9:10pm 
Yup still works
UneceZombine Feb 26 @ 9:32am 
Does this work after the spawn menu update of 2024?
andreycdjm11 Feb 1 @ 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 Jan 8 @ 6:57pm 
It's a nice quality of life but goddamn muscle memory refuses to have this embedded into my brain, lol.
Biocrab Aug 7, 2024 @ 9:37pm 
i think this was the first mod ive ever subscribed to
TheGalaxyRabbit Jul 30, 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] Jul 29, 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 Jul 29, 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 Jul 15, 2024 @ 9:14am 
How did you change the font in the spawnmenu?