Back to TPG

TPG.Colors.Team

S🏷️ Palette

Part of TPG namespace

TPG.Colors.Team(teamId)
View on GitHub|gamemode/config/sh_palette.lua:73-77
📋 Has LDoc👁️ 0 viewsUpdated 1 month ago

Description

The saturated bar/marker colour for a team. C.TextMuted (covers TEAM_UNASSIGNED and any unrecognised id).

Parameters

NameTypeDescription
teamIdnumberTEAM_GREEN, TEAM_RED, or anything else.

Returns

TypeDescription
Color`C.Green`/`C.Red` for the two playing teams, else

Examples

No examples available.

Used In

No usages found in the codebase.