Garry's Mod Wiki

Entity:SetColor4Part

  Entity:SetColor4Part( number r, number g, number b, number a )

Description

Sets the color of an entity.

This function overrides Colors set with Entity:SetColor

Arguments

1 number r
2 number g
3 number b
4 number a

Example

Sets the color of the first player to black

Entity(1):SetColor4Part(0, 0, 0, 0)