Garry's Mod Wiki


  DColorPalette:UpdateConVar( string name, string key, table clr )


This is used internally - although you're able to use it you probably shouldn't.

Internal helper function for DColorPalette:UpdateConVars.


1 string name
The name of the console variable to set
2 string key
The key of the 3rd argument to set the convar to Possible values: "r", "g", "b", "a"
3 table clr
The Color to retrieve the info from.