cobalt_map
Minimap styling and postal codes.
GetNearestPostal
ClientReturns the postal nearest to the coords, or to the player.
exports.cobalt_map:GetNearestPostal(coords)| Parameter | Type | Optional | Description |
|---|---|---|---|
coords | vector3 | Yes |
| Returns | Description |
|---|---|
MapPostal | postal |
number | distance meters |
local postal, distance = exports.cobalt_map:GetNearestPostal(vector3(215.8, -810.1, 30.7))