Skip to main content

GET_CLOSEST_CAR_NODE

Game.GetClosestCarNodeHash0x27F87222
Usage
local closestCarNode, outX, outY, outZ = Game.GetClosestCarNode(x, y, z)

Will return if can the closest car node to a coord.

Parameters

  • xnumberfloat
  • ynumberfloat
  • znumberfloat

Returns

  • closestCarNodebooleanreturn value
  • outXnumberfloat*
  • outYnumberfloat*
  • outZnumberfloat*
Original declaration
// 0x27F87222
bool GET_CLOSEST_CAR_NODE(float x, float y, float z, float* outX, float* outY, float* outZ);