Part of TPG namespace
TPG.Gear.ChargesLeft(ply, kind, id)📋 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
| Name | Type | Description |
|---|---|---|
ply | Player | |
kind | string | |
id | string |
Returns
| Type | Description |
|---|---|
number |
Examples
No examples available.
Used In
No usages found in the codebase.