Display a server cvar value in the in-game menu
Display a server cvar value in the in-game menu
I have a read-only cvar on the server and I want to display its value in the in-game menu. My plan is to make another client cvar and then set its value when the player joins the server and then the in-game menu will actually display the value of that client cvar. I'm pretty sure I know how to do most of that, but, where should I do it?? In G_InitGame()??
Re: Display a server cvar value in the in-game menu
Looks like I have to do it in ClientBegin. I tried doing it in ClientConnect but apparently the client is not yet initialized at that point so it can't receive commands. (I got it working in ClientBegin)