Native referenceRedM

GET_GROUND_Z_AND_NORMAL_FOR_3D_COORD

0x2A29CA9A6319E6AB MISC
FUNCTION SIGNATURE
BOOL GET_GROUND_Z_AND_NORMAL_FOR_3D_COORD(`x` (float), `y` (float), `z` (float), `groundZ` (float*), `normal` (Vector3*));
Property Value
Native Name GET_GROUND_Z_AND_NORMAL_FOR_3D_COORD
Hash 0x2A29CA9A6319E6AB
Return Type BOOL
Build 1207
Parameters x (float), y (float), z (float), groundZ (float*), normal (Vector3*)

Parameters

  • x (float)
  • y (float)
  • z (float)
  • groundZ (float*)
  • normal (Vector3*)

Usage

Lua (Direct):

local result = GetGroundZAndNormalFor3dCoord(x, y, z, groundZ, normal)

Lua (Hash):

local result = Citizen.InvokeNative(0x2A29CA9A6319E6AB, x, y, z, groundZ, normal)

Back to MISC