Garry's Mod Wiki

Garry's Mod Wiki

  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

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 four times a day. Edits and history are not available.

Last Parsed: Loading...