Garry's Mod Wiki

Garry's Mod Wiki

  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.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...