Tom, that won't work in server plugins as the client will just ignore
that flag.
Tom Leighton wrote:
> He said everything you need to know how to do it.
>
> Define the FCVAR_NO_ANNOUNCE in a header so you can use it,
>
> #define FCVAR_NO_ANNOUNCE (1<<25)
>
>
> Then on all your cvars put this as a flag
>
> ConVar blah("Blah", "test", ....., FCVAR_REPLICATED & FCVAR_NO_ANNOUNCE);
>
> Ronny Schedel wrote:
>
>> Sorry, I didn't mention, it's for a server plugin.
>>
>>
>>
>>> // If the CVar has the FCVAR_NO_ANNOUNCE flag, don't announce it.
>>> if(pCVar->m_nFlags & FCVAR_NO_ANNOUNCE)
>>> return;
>>>
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives, please
> visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders