SetClientCvar( <cvarName>, <value> )


Module: Player

Summary:

Set the cvar value for the specified name.



Call this on:

The player



Example:

self SetClientCvar( "cg_drawhud", "0" );



Required Args:

  • 1 : <cvarName>: The name of a cvar. Valid cvar names: "cg_drawhud".
  • 2 : <value>: The the value to which the cvar will be set