Garry's Mod Wiki

DColorPalette:UpdateConVar

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

Description

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

Internal helper function for DColorPalette:UpdateConVars.

Arguments

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.