Hello, I am here today with yet another question for the lovely facepunch people.
How do we remove these boring old icons from the context menu
(Like these)
https://prnt.sc/kl43jk
and take the animations from reloading on the keys
(these)
https://prnt.sc/kl449u
and throwing them together to kinda make something like
http://prntscr.com/kl1pv0
I am kinda thinking it has something to do with
SANDBOX/ContextMenuOpen
GM/OnContextMenuOpen
GM/OnContextMenuClose
But what about for the animations? Where do I put it? What do I edit?
TL;DR
I am trying to make a context menu where there is a list of animations on the inside. How do I go about doing this?
I looked a bit into this for you.
The code that registers the player model button is here: garrysmod/editor_player.lua at d4226e5ac30f0bb24e756f732b2fc4c1c..
The code that actually creates the buttons is here: garrysmod/contextmenu.lua at 784cd57576d85712fa13a7cea3a9523b4df..
Hopefully that's enough to get you going!
Thank you, ill tedt when i get home
What about having a custom act/commands menu showing up enu pop up when they click F3 (not replacing the ability to freely move mice.)
That would be interesting to see
Sorry, you need to Log In to post a reply to this thread.