Native referenceFiveM

GET_NTH_CLOSEST_VEHICLE_NODE_ID

0x22D7275A79FE8215 PATHFIND
FUNCTION SIGNATURE
int GET_NTH_CLOSEST_VEHICLE_NODE_ID(float x, float y, float z, int nthClosest, int nodeFlags, float zMeasureMult, float zTolerance);
Property Value
Native Name GET_NTH_CLOSEST_VEHICLE_NODE_ID
Hash 0x22D7275A79FE8215
Return Type int
Parameters x (float), y (float), z (float), nthClosest (int), nodeFlags (int), zMeasureMult (float), zTolerance (float)

Parameters

  • x (float) — X coordinate
  • y (float) — Y coordinate
  • z (float) — Z coordinate
  • nthClosest (int) — The index of the node to return
  • nodeFlags (int) — Node flags, see GET_CLOSEST_VEHICLE_NODE
  • zMeasureMult (float) — How strongly the difference in the Z direction should be weighted
  • zTolerance (float) — How far apart the Z coords have to be before zMeasureMult kicks in
Back to PATHFIND