Garry's Mod Wiki

Revision Difference

GM:GetTeamColor#563683

<function name="GetTeamColor" parent="GM" type="hook"> <description>Returns the color for the given entity's team. This is used in chat and deathnotice text.</description> <realm>Client</realm> <file line="124-L130">gamemodes/base/gamemode/cl_init.lua</file>⤶ <args> <arg name="ent" type="Entity">Entity</arg> </args> <rets> <ret name="" type="table">Team <page>Global.Color</page></ret> </rets> </function>