Back to TPG

TPG.Util.IsOnTeam

S🏷️ Util

Part of TPG namespace

TPG.Util.IsOnTeam(ply)
View on GitHub|gamemode/core/sh_utils.lua:185-188
📋 Has LDoc👁️ 0 viewsUpdated 1 month ago

Description

Is this player on one of the two playing teams? False for spectators and for anyone who hasn't picked yet, which is why it is the guard in front of anything that scores or awards.

Parameters

NameTypeDescription
plyPlayer

Returns

TypeDescription
boolean

Examples

No examples available.

Used In

No usages found in the codebase.