Doing some investigation it looks like creating a cvar with
the FCVAR_USERINFO flag and then using pfnInfoKeyValue on the server-side
is the way to achieve this.

On 31 May 2015 at 17:23, Tom Schumann <schumann....@gmail.com> wrote:

> In my client.dll I have CVAR_CREATE( "somecvar", "1", FCVAR_ARCHIVE ); (so
> that the cvar gets saved to config.cfg).
> How can I get the value of somecvar from my server.dll? I know there
> are pfnCvarValue and pfnCvarValue2 but is there something that can tell me
> right away rather than waiting for a callback to return?
> If not, is there a better way to do this?
>
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders

Reply via email to