Garry's Mod Wiki

DColorPalette:UpdateConVars

  DColorPalette:UpdateConVars( table clr )

Description

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

Updates all the console variables set by DColorPalette:SetConVarR and so on with given color.

Called internally when a palette color is clicked.

Arguments

1 table clr