Back to TPG

TPG.Colors.TeamText

S🏷️ Palette

Part of TPG namespace

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

Description

The readable-as-text variant of a team's colour, lifted toward white. C.TextMuted.

Parameters

NameTypeDescription
teamIdnumberTEAM_GREEN, TEAM_RED, or anything else.

Returns

TypeDescription
Color`C.GreenText`/`C.RedText` for the two playing teams, else

Examples

No examples available.

Used In

No usages found in the codebase.