Garry's Mod Wiki

Revision Difference

Entity:GetColor4Part#547718

<function name="GetColor4Part" parent="Entity" type="classfunc">⤶ <description>Returns the color the entity is set to.⤶ <note>This functions will return Colors set with <page>Entity:GetColor</page></note>⤶ </description>⤶ <realm>Shared</realm>⤶ <rets>⤶ <ret name="r" type="number"></ret>⤶ <ret name="g" type="number"></ret>⤶ <ret name="b" type="number"></ret>⤶ <ret name="a" type="number"></ret>⤶ </rets>⤶ </function>⤶ ⤶ <example>⤶ <code>⤶ Entity(1):SetColor4Part(0, 0, 0, 0)⤶ print(Entity(1):GetColor4Part())⤶ </code>⤶ <output>0 0 0 0</output>⤶ </example>