Skip to main content

GET_CLOSEST_CAR_NODE_WITH_HEADING

Game.GetClosestCarNodeWithHeadingHash0x371467E0
Usage
local closestCarNodeWithHeading, outX, outY, outZ, outHeading = Game.GetClosestCarNodeWithHeading(x, y, z)

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

Parameters

  • xnumberfloat
  • ynumberfloat
  • znumberfloat

Returns

  • closestCarNodeWithHeadingbooleanreturn value
  • outXnumberfloat*
  • outYnumberfloat*
  • outZnumberfloat*
  • outHeadingnumberfloat*
Original declaration
// 0x371467E0
bool GET_CLOSEST_CAR_NODE_WITH_HEADING(float x, float y, float z, float* outX, float* outY, float* outZ, float* outHeading);