Garry's Mod Wiki

Entity:GetColor4Part

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

Description

Returns the color the entity is set to without using a color object.

This is used internally - although you're able to use it you probably shouldn't. Internally used to implement Entity:GetColor.

Returns

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

Example

Output: 0 0 0 0