Kynval Posted October 3, 2014 Posted October 3, 2014 (edited) Hello Is that possible to add g_commands to custom.menu? Like: ESC > MyTitle > "Kick bots" -> gives bots i've got smth like this: BUTTON( 20, 50, 160, 18, "^3BOTS OFF", .3, 14, close bots ; exec "set bot kickall ; bot maxbots 1" ) But this don't work Edited October 3, 2014 by Kynval Quote
Administrators daredevil Posted October 3, 2014 Administrators Posted October 3, 2014 As far as I know, I don't think so. Quote
Kynval Posted October 3, 2014 Author Posted October 3, 2014 (edited) it works only with CVAR's like this: (?) BUTTON( 6, 32, .5*(WINDOW_WIDTH-18), 14, "START MATCH", .24, 11, exec "cmd ref startmatch"; uiScript closeingame )BUTTONEXT( 6, 50, .5*(WINDOW_WIDTH-18), 14, "RESET MATCH", .24, 11, exec "cmd callvote matchreset"; uiScript closeingame, voteFlag CV_SVF_MATCHRESET ) Edited October 3, 2014 by Kynval Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.