GET_NTH_CLOSEST_CAR_NODE_FAVOUR_DIRECTION
Usage
local nthClosestCarNodeFavourDirection, nearestNodeCoorsX, nearestNodeCoorsY, nearestNodeCoorsZ, heading = Game.GetNthClosestCarNodeFavourDirection(x, y, z, faceX, faceY, faceZ, node)
Will return if can the closest car node, tries to return a heading which points the car in the right direction to reach FaceCoors.
Parameters
xnumberfloatynumberfloatznumberfloatfaceXnumberfloatfaceYnumberfloatfaceZnumberfloatnodeintegerint
Returns
nthClosestCarNodeFavourDirectionbooleanreturn valuenearestNodeCoorsXnumberVector3*nearestNodeCoorsYnumberVector3*nearestNodeCoorsZnumberVector3*headingnumberfloat*
Original declaration
// 0x6F766824
bool GET_NTH_CLOSEST_CAR_NODE_FAVOUR_DIRECTION(float x, float y, float z, float faceX, float faceY, float faceZ, int node, Vector3* nearestNodeCoors, float* heading);