Back to TPG

TPG.PropTracking.GetPlayerUsage

S🏷️ Proptracking

Part of TPG namespace

TPG.PropTracking.GetPlayerUsage(ply)
View on GitHub|gamemode/systems/sv_proptracking.lua:145-147
📋 Has LDoc👁️ 0 viewsUpdated 1 month ago

Description

A player's last-computed props/weight/points, from the periodic team update. This is a read of the snapshot TPG.PropTracking.UpdateTeamTotals last wrote, not a live recount -- it can be up to 2 seconds (or one tpg_points_refresh_interval for the points figure) behind reality. recorded usage yet.

Parameters

NameTypeDescription
plyPlayer

Returns

TypeDescription
table`{ props, weight, points }`; zeroed if the player has no

Examples

No examples available.

Used In

No usages found in the codebase.