Results 1 to 4 of 4

Thread: rcon command in menu

  1. #1
    Private First Class
    Join Date
    Feb 2013
    Posts
    201
    Thanks
    4
    Thanked 10 Times in 7 Posts

    rcon command in menu

    why i dont have message ? rcon pisz = sayallcenter

    PHP Code:
        itemDef {
            
    name            passwordEntry
            group            grpControls
            TYPE            4
            text            
    " "
            
    dvar            "rcon pisz"
            
    rect            30 75 179 12
            maxchars        12
            maxpaintchars        12
            textalign        ITEM_ALIGN_RIGHT
            textalignx        0
            textaligny        10
            textfont        UI_FONT_NORMAL
            textscale        .25          
            forecolor        OPTIONS_CONTROL_FORECOLOR
            style            WINDOW_STYLE_FILLED
            backcolor        1 1 1 .3
            visible            1
            mouseenter        
    show keyBindStatusplay "mouse_over"; }
            
    mouseexit        hide keyBindStatus }
        } 

  2. #2
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    you cannot do a rcon cvar in a menu. It needs to be a local cvar

  3. #3
    Private First Class
    Join Date
    Feb 2013
    Posts
    201
    Thanks
    4
    Thanked 10 Times in 7 Posts
    local cvar ? what is this ?

  4. #4
    Brigadier General
    Join Date
    Dec 2012
    Posts
    1,012
    Thanks
    440
    Thanked 171 Times in 132 Posts
    Precache "sayallcenter" and where did u set the clientcvars?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •