Garry's Mod

Garry's Mod

130 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 @ 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
40 Comments
Sony  [author] Apr 13 @ 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?
Benevolent Fent Gent  Apr 13 @ 12:59am 
What theme is used for the spawnmenu in the screenshot?
Sony  [author] Mar 20 @ 1:05pm 
@Pacifist - Yes, this should work fine with any weapon using the 'arc9_base' weapon base.
(As in it won't interfere with their context menu weapon customisation system)
Pacifist Mar 20 @ 3:17am 
arc9 support?
sludge miser Feb 27 @ 2:41pm 
i love you
,Young fly. Feb 10 @ 7:21am 
thxxxxxxxxxxx:steamthis::steamthis:
Biocrab Feb 3 @ 11:27am 
@все шишки мои read the description
Biocrab Feb 3 @ 11:26am 
probably lambda players
Sony  [author] Feb 3 @ 10:44am 
@LeoTheWise_559 - What is Lambda? I can try to add compatibility if you let me know some more details. :)
LeoTheWise_559 Feb 2 @ 9:37pm 
It doesn't help me when I use lambda