Raised This Month: $51 Target: $400
 12% 

dynamic menu (custom menu), to trigger additional command alongside


Post New Thread Reply   
 
Thread Tools Display Modes
Marchello
Senior Member
Join Date: Jan 2010
Old 05-09-2010 , 12:36   Re: dynamic menu (custom menu), to trigger additional command alongside
Reply With Quote #11

Quote:
Originally Posted by Joe4evr View Post
Code:
"1" "\"coop\"; l4d_maxplayers 4"




Value of "l4d_maxplayers" wasn't changed.
Marchello is offline
Marchello
Senior Member
Join Date: Jan 2010
Old 05-10-2010 , 06:49   Re: dynamic menu (custom menu), to trigger additional command alongside
Reply With Quote #12

Hm.. work out!
Code:
    "Gamemode"
       {
            "cmd"          "sm_cvar mp_gamemode @1"
            "execute"      "server"
            "admin"        "sm_kick"
            "1"
            {
                 "type"    "list"
                 "1"       "coop; sm_cvar l4d_maxplayers 4"
                 "1."      "Campaign mode"
                 "2"       "versus"
                 "2."      "Versus mode"
                 "3"       "mutation12"
                 "3."      "Realism-versus"
             }
        }
Should have been "server" instead of "player".
What's bad is that changing cvar of "l4d_maxplayers" isn't being displayed on the screen, but it's not a huge deal.

Last edited by Marchello; 05-10-2010 at 06:57.
Marchello is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:29.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode