Skip to main content

GET_WATER_HEIGHT

Game.GetWaterHeightHash0x2BB9620F
Usage
local waterHeight, height = Game.GetWaterHeight(x, y, z)

Gets the height of the water below the position including the waves.

Parameters

  • xnumberfloat
  • ynumberfloat
  • znumberfloat

Returns

  • waterHeightbooleanreturn value
  • heightnumberfloat*
Original declaration
// 0x2BB9620F
bool GET_WATER_HEIGHT(float x, float y, float z, float* height);