Uhm, I think FCVAR_NOTIFY'd CVars are announced in clientmode.cpp, in
there you can do something like:
// Get the ConVar
ConVar* pCVar = cvar->FindVar(event->GetString("cvarname"));
if(!pCVar)
return;
// If the CVar has the FCVAR_NO_ANNOUNCE flag, don't announce it.
if(pCVar->m_nFlags & FCVAR_NO_ANNOUNCE)
return;
In convar.h, add this to the end:
#define FCVAR_NO_ANNOUNCE (1<<25)
Ronny Schedel wrote:
> Hello,
>
> we used FCVAR_NOTIFY in the past for some CVars we want to see in the server
> rules. But since one of the last updates, the changes to these CVars will be
> announced to the clients ingame also, but we don't want. In the beginning we
> had the FCVAR_SERVER to achieve this, but it was removed from the attribute
> list for the CVars. Which attribute do we have to use to see the CVar in the
> server rules but no announcement ingame?
>
> Best regards
>
> Ronny Schedel
>
>
> _______________________________________________
> 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