Garry's Mod Wiki

CEffectData:SetColor

  CEffectData:SetColor( number color )

Description

Sets the "color" of the effect.

All this does is provide an addition 8 bits of data for the effect to use. What this will actually do will vary from effect to effect, depending on how a specific effect uses this given data, if at all.

Internally stored as an integer, but only first 8 bits are networked, effectively limiting this function to 0-255 range.

Arguments

1 number color
Color represented by a byte.