I know that in custom gamemodes if you press f1, f2, f3, or f4 the coders have added functions to them.
First off, I want to bind the cursor to show on f1, I tried this code,
concommand.Add( “gm_showhelp” , ShowMouse )
//PS I know this will trap the mouse being on, but thats not what I’m worried about now
and it won’t work. I realized that the command gm_showhelp is declared elsewhere in the game code, and I want to override that declaration, and make it run my code. How can I do this?
Also, related to that, I want to bind ‘slot1’,‘slot2’,‘slot3’,etc. to my own functions.
Thanks for any help!