Public plugin_init( ) { Register_clcmd( "chooseteam", "CmdChooseteam" ); } Public CmdChooseteam( index ) { // put in your menu function hook here return PLUGIN_HANDLED; }