Quote:
Originally Posted by FunTF2Server
can you make it for in addition to !helpmenu, they can also type:
!help
!cmd
/help
/cmd
!menu
!cmdlist
/cmdlist
/menu
!motd
/motd
!rtfm
and those will also trigger the help menu.
Because I see people join my server and type those all the time, but I've never see anyone type !helpmenu
|
Modify it yourself as such:
RegConsoleCmd("sm_helpmenu", Command_HelpMenu, "Display the help menu.", FCVAR_PLUGIN);
change it to
RegConsoleCmd("sm_menu", Command_HelpMenu, "Display the help menu.", FCVAR_PLUGIN);
for !menu to work
Copy, paste, salt and pepper to your liking.
In sourcemod, commands work in chat with an ! or a /. Usually, ! adds an sm_ to the front of the string to register a console command...
if that makes sense.