Skip to main content

GET_GROUND_Z_FOR_3D_COORD

Game.GetGroundZFor3dCoordHash0x6D902EE3
Usage
local groundZFor3dCoord, returnZ = Game.GetGroundZFor3dCoord(x, y, z)

Trys to store the Z coordinate of the highest ground below the given point.

Parameters

  • xnumberfloat
  • ynumberfloat
  • znumberfloat

Returns

  • groundZFor3dCoordbooleanreturn value
  • returnZnumberfloat*
Original declaration
// 0x6D902EE3
bool GET_GROUND_Z_FOR_3D_COORD(float x, float y, float z, float* returnZ);