PDA

View Full Version : rcon command in menu



malyczolg
1st May 2013, 21:16
why i dont have message ? rcon pisz = sayallcenter


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 keyBindStatus; play "mouse_over"; }
mouseexit { hide keyBindStatus }
}

IzNoGoD
1st May 2013, 21:26
you cannot do a rcon cvar in a menu. It needs to be a local cvar

malyczolg
1st May 2013, 21:38
local cvar ? what is this ?

Ni3ls
2nd May 2013, 18:34
Precache "sayallcenter" and where did u set the clientcvars?