TPG.Util.UnitsToMeters(units)📋 Has LDoc👁️ 0 viewsUpdated 1 month ago
Description
Source units to metres. Source units are roughly an inch, so this is the divisor everything that shows a player a distance goes through -- the compass and the objective HUD both read in metres because that is what the vehicles are scaled to.
Parameters
| Name | Type | Description |
|---|---|---|
units | number |
Returns
| Type | Description |
|---|---|
number | Metres. |
Examples
No examples available.
Used In
No usages found in the codebase.