SetClientDvars( <dvarName>, <value>, <dvarName>, <value>, etc. )


Module: Player

Summary:

Set the values of a list of dvars which are specific to each client.



Call this on:

The player



Example:

self SetClientDvars( "cg_drawhud", "0", "cg_draw2d", "0" );



Required Args:

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