Back to TPG

TPG.Underdog.IsUnderdog

S🏷️ Underdog

Part of TPG namespace

TPG.Underdog.IsUnderdog(teamId)
View on GitHub|gamemode/systems/sv_underdog.lua:44-46
📋 Has LDoc👁️ 0 viewsUpdated 1 month ago

Description

Is this team currently underdog. Reads the state last computed by the 2-second evaluation timer, so it can be briefly stale after a ticket change.

Parameters

NameTypeDescription
teamIdnumberTEAM_GREEN or TEAM_RED.

Returns

TypeDescription
boolean

Examples

No examples available.

Used In

No usages found in the codebase.