Part of TPG namespace
TPG.Economy.Notify(ply, delta, reason)📋 Has LDoc👁️ 0 viewsUpdated 1 month ago
Description
Tell a client their wallet changed, for the HUD's floating +N/-N popup. Purely cosmetic net message; does not itself change pState.money. No-op for an invalid player or a zero delta.
Parameters
| Name | Type | Description |
|---|---|---|
ply | Player | |
delta | number | Signed; rounded before sending. |
reason? | string | Short label the HUD displays with the popup.(default: "") |
Returns
No return values documented.
Examples
No examples available.
Used In
No usages found in the codebase.