TPG.Stats.GetRating(ply)📋 Has LDoc👁️ 0 viewsUpdated 1 month ago
Description
A player's rating, or 1000 if they have no record. Safe for anyone, including bots -- unrated players read as the starting rating rather than nil, which is what lets the scramble weigh a full team without special-casing newcomers.
Parameters
| Name | Type | Description |
|---|---|---|
ply | Player |
Returns
| Type | Description |
|---|---|
number |
Examples
No examples available.
Used In
No usages found in the codebase.