News:

Come Chat with us live! Learn how HERE!

Main Menu

Display cvar content on hud

Started by seeeker, June 04, 2008, 09:54:25 AM

seeeker

Is it possible to display the contents of a certain cvar on the hud?
Im trying to make a small menu that will be populated with text stored on cvars, the content will change constantly.



itemDef
    {
      name "littlebox"
      rect 8 250 800 100
      visible 1
  showCvar { 1 }
      decoration
      forecolor 1 0 0 1
      textscale 0.5
      autowrapped
      text cvarname???

    }


Any help is appreciated. Thanks

blood2.0

what is  a cvar this is all i could find on it

Death On Ice

It's a setting, essentially.
sv_hostname is an example of a server side one,
cl_guidserveruniq is an an example of a client side one