• Remove icon in context menu
    8 replies, posted
Hello, I would like to delete all the icons in the context menu. Thank you for your help in advance! https://files.facepunch.com/forum/upload/260886/3e4a2d35-5f7e-424b-b3ae-f9a0561d6836/BCuhbp1.png
by ALL you mean ALL? the playermodel ibcluded?? For the outfitter etc, disable the addons from the workshop that create them? and i dont think theres a way to remove the default ones.
Yes I also want to remove Player Models
Unless you go into the core lua files of gmod (which probably NO ONE touches), or you find a addon for it, which i dont think exists, you wont have luck with that. These icons are always there, was always there, and probably be always there. besides, why do you want them to be gone? if you dont wanna see them, just dont press C XD
I would like to replace it with a custom DFrame
to do that you would need something like a hook that lets you replace those icons..but im pretty sure there arent any for that
In fact I would like to put the entities in the context menu instead of F4 by default
yea no idea. i dont think thats possible. You still would need a hook to call the menu of these icons. And i dont think there are any
Your best bet would probably be to create your own C menu. I just searched “context” on the wiki and found some stuff. http://wiki.garrysmod.com/page/SANDBOX/ContextMenuCreated GM/ContextMenuOpen GM/OnContextMenuOpen GM/OnContextMenuClose You could open a derma window OnContextMenuOpen and close it on OnContextMenuClose. In fact, I’m gonna mess around with those later.
Sorry, you need to Log In to post a reply to this thread.