Back to TPG

TPG.Gear.ChargesLeft

S🏷️ Gearsystem

Part of TPG namespace

TPG.Gear.ChargesLeft(ply, kind, id)
View on GitHub|gamemode/systems/sv_gear.lua:85-91
📋 Has LDoc👁️ 0 viewsUpdated 1 month ago

Description

Lives left in this item's current run, before its cooldown timer starts. An item never taken reports its full allowance rather than 0, so the menu can show "6 lives" on something untouched without special-casing it.

Parameters

NameTypeDescription
plyPlayer
kindstring
idstring

Returns

TypeDescription
number

Examples

No examples available.

Used In

No usages found in the codebase.