Garry's Mod Wiki

Garry's Mod Wiki

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

Description

Sets the color of an entity without usage of a Color object.

This is used internally - although you're able to use it you probably shouldn't. Used internally to implement 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)

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...