Garry's Mod Wiki

Entity:GetColor4Part

  number, number, number, number Entity:GetColor4Part()

Description

Returns the color the entity is set to.

This functions will return Colors set with Entity:GetColor

Returns

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

Example

Entity(1):SetColor4Part(0, 0, 0, 0) print(Entity(1):GetColor4Part())
Output: 0 0 0 0