GET_NTH_CLOSEST_CAR_NODE_WITH_HEADING_ON_ISLAND
Usage
local nthClosestCarNodeWithHeadingOnIsland, nearestNodeX, nearestNodeY, nearestNodeZ, returnHeading, numLanes = Game.GetNthClosestCarNodeWithHeadingOnIsland(x, y, z, nodeNum, island)
Will return if can the nth (n = 1 being closest) closest car node with a heading, to a coord on an island.
Parameters
xnumberfloatynumberfloatznumberfloatnodeNumintegerintislandintegerint
Returns
nthClosestCarNodeWithHeadingOnIslandbooleanreturn valuenearestNodeXnumberfloat*nearestNodeYnumberfloat*nearestNodeZnumberfloat*returnHeadingnumberfloat*numLanesintegerint*
Original declaration
// 0x59DB1AD1
bool GET_NTH_CLOSEST_CAR_NODE_WITH_HEADING_ON_ISLAND(float x, float y, float z, int nodeNum, int island, float* nearestNodeX, float* nearestNodeY, float* nearestNodeZ, float* returnHeading, int* numLanes);