TPG.GetArmorModel(armorId)📋 Has LDoc👁️ 0 viewsUpdated 1 month ago
Description
The player model to use for an armor tier, resolving any random variant. Some tiers (currently None and Light) use a model path with a literal %d placeholder for several numbered models (Male_01.mdl .. Male_09.mdl); this picks one at random each call, so calling it twice for the same armor can return different models. Tiers with a fixed model path return it unchanged.
Parameters
| Name | Type | Description |
|---|---|---|
armorId | number |
Returns
| Type | Description |
|---|---|
string | A concrete model path, ready to pass to SetModel. |
Examples
No examples available.
Used In
No usages found in the codebase.