Pathfind::getNthClosestVehicleNodeIdWithHeading
Syntax
```js mp.game.pathfind.getNthClosestVehicleNodeIdWithHeading(x, y, z, nthClosest, outPosition, outHeading, p6, p7, p8); ```
Required Arguments
- x: float
- y: float
- z: float
- nthClosest: int
- outPosition: Vector3
- outHeading: float
- p6: unknown (to be checked)
- p7: float
- p8: float
Return value
- Vector3
Example
```js // todo ```