Skip to main content

GET_NEXT_CLOSEST_CAR_NODE_WITH_HEADING_ON_ISLAND

Game.GetNextClosestCarNodeWithHeadingOnIslandHash0x320E1E3B
Usage
local nextClosestCarNodeWithHeadingOnIsland, nearestNodeX, nearestNodeY, nearestNodeZ, returnHeading = Game.GetNextClosestCarNodeWithHeadingOnIsland(x, y, z, island)

Will return if can the next closest car node with a heading, to a coord on an island.

Parameters

  • xnumberfloat
  • ynumberfloat
  • znumberfloat
  • islandintegerint

Returns

  • nextClosestCarNodeWithHeadingOnIslandbooleanreturn value
  • nearestNodeXnumberfloat*
  • nearestNodeYnumberfloat*
  • nearestNodeZnumberfloat*
  • returnHeadingnumberfloat*
Original declaration
// 0x320E1E3B
bool GET_NEXT_CLOSEST_CAR_NODE_WITH_HEADING_ON_ISLAND(float x, float y, float z, int island, float* nearestNodeX, float* nearestNodeY, float* nearestNodeZ, float* returnHeading);