Back to TPG

TPG.Gear.Remaining

S🏷️ Gearsystem

Part of TPG namespace

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

Description

Seconds left on an item's cooldown timer, or 0 if no timer is running. 0 does NOT mean the item is free to take right now in every sense -- it is also what a player mid-run sees, with lives still to spend. Only meaningful under the team-budget payment model; the economy model never opens a run in the first place.

Parameters

NameTypeDescription
plyPlayer
kindstring
idstring

Returns

TypeDescription
number

Examples

No examples available.

Used In

No usages found in the codebase.