Is there a way i can make it so everyone in my server presses for example F1 they say !menu and how?
These are server-side hooks:
[lua]hook.Add( “ShowSpare2”, “F4Hook”, function( _p )
_p:ConCommand( “say !menu” );
// Although it'd be better to just run the menu command _p:ConCommand( "menu" );
Or you can use PlayerBindPress, it’s clientside, does the same thing as posted above.
gm_showhelp - F1
gm_showspare2 - F4