Garry's Mod Wiki

Revision Difference

GM:GetTeamColor#511380

<function name="GetTeamColor" parent="GM" type="hook">⤶ <ishook>yes</ishook>⤶ <description>Returns the color for the given entity's team. This is used in chat and deathnotice text.</description>⤶ <realm>Client</realm>⤶ <predicted>No</predicted>⤶ <args>⤶ <arg name="ent" type="Entity">Entity</arg>⤶ </args>⤶ <rets>⤶ <ret name="" type="table">Team <page>Global.Color</page></ret>⤶ </rets>⤶ </function>⤶ ⤶