General Question

G’day there forumees

I just had a few questions I’d like to ask if anyone knew that answers to…

  1. Is it possible to make it so when you are wielding the physgun or tool gun and push your bind to use the spawn menu it will pop up, but if you are wielding any other swep nothing will show.

  2. Is it possible to delete different spawnmenu categories for servers such as post process/ vehicles ect, same with some tool gun features.

That’s really all I had to ask for this time, If possible only comment if you know some how to do this and not just some stupid comment, I do understand changing Lua a bit but not much so any help provided is greatly appreciated.

Yes, it’s all possible. I know, how to do this. (this is what you were looking for?)

GM:OnSpawnMenuOpen (