Back to TPG

TPG.Stats.OnCapture

S🏷️ Stats

Part of TPG namespace

TPG.Stats.OnCapture(ply)
View on GitHub|gamemode/systems/sv_stats.lua:378-383
📋 Has LDoc👁️ 0 viewsUpdated 1 month ago

Description

Credit a control-point capture: +1 cap, +15 rating. Called from TPG.Objectives.OnCapture once per player standing on the point, so a contested cap pays everyone who held it.

Parameters

NameTypeDescription
plyPlayer

Returns

No return values documented.

Examples

No examples available.

Used In

No usages found in the codebase.