Native referenceRedMclient

_GET_WATER_MAP_ZONE_AT_COORDS

0x5BA7A68A346A5A91 ZONE
FUNCTION SIGNATURE
Hash _GET_WATER_MAP_ZONE_AT_COORDS(float x, float y, float z);
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)
Back to ZONE