Gamemode.GetTeamNumColor
From GMod Wiki
Revision as of 10:10, 23 October 2009 by Unrealomega (Talk | contribs)
| Event Hook | |
| Hook Name | GetTeamColor |
| Syntax | GM:GetTeamColor( Integer teamid ) |
| Description | Called when the gamemode draws the name of the player you're looking at. |
| Returns | Color |
| Lua State | |
| BBCode | [b][url=wiki.garrysmod.com/?title=Gamemode.GetTeamNumColor]Gamemode.GetTeamNumColor [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
| Description | How it is defined in the base gamemode |
|---|---|
| Used on | |
| Code | function GM:GetTeamNumColor( num ) return team.GetColor( num ) end |
| Output | N/A |