Gamemode.GetTeamNumColor

From GMod Wiki

Jump to: navigation, search
Event Hook
Hook NameGetTeamColor
SyntaxGM:GetTeamColor( Integer teamid )
DescriptionCalled when the gamemode draws the name of the player you're looking at.
ReturnsColor
Lua StateNewerClient.png
BBCode[b][url=wiki.garrysmod.com/?title=Gamemode.GetTeamNumColor]Gamemode.GetTeamNumColor [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]

Examples

DescriptionHow it is defined in the base gamemode
Used onNewerClient.png
Code
function GM:GetTeamNumColor( num )
 
	return team.GetColor( num )
 
end
OutputN/A


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox