| Property | Value |
|---|---|
| Native Name | _GET_WATER_MAP_ZONE_AT_COORDS |
| Hash | 0x5BA7A68A346A5A91 |
| Return Type | Hash |
| Build | 1207 |
| API Set | client |
| Parameters | x (float), y (float), z (float) |
Description: Returns the zone's name hash if its type matches one of the following:
- LAKE
- RIVER
- OIL_SPILL
- SWAMP
- OCEAN
- CREEK
- POND
- GLACIER
Usage
Lua (Direct):
local result = GetWaterMapZoneAtCoords(x, y, z)
Lua (Hash):
local result = Citizen.InvokeNative(0x5BA7A68A346A5A91, x, y, z)