Back to TPG

TPG.Stats.Get

S🏷️ Stats

Part of TPG namespace

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

Description

A player's lifetime record, creating it on first sight. The returned table is the live one, not a copy -- writing to it changes the record, but does not mark the store dirty, so a direct write can be lost at the next save. Go through the event functions below unless you have a reason not to. flags, wins, rounds }`, or nil for a bot or a player whose SteamID64 hasn't settled yet.

Parameters

NameTypeDescription
plyPlayer

Returns

TypeDescription
table`{ sid, name, rating, kills, deaths, teamkills, caps,

Examples

No examples available.

Used In

No usages found in the codebase.