Garry's Mod Wiki



  CEffectData:SetColor( number color )


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.


1 number color
Color represented by a byte.

Special Pages



Render Time: 20ms

DB GetPage 2
Generate Html 1
SaveChanges (1) 6
Render Body 0
Render Sidebar 8