Skip to main content

Pathfind::getNthClosestVehicleNodeId

Returns the id.

Syntax

```js mp.game.pathfind.getNthClosestVehicleNodeId(x, y, z, nth, nodetype, p5, p6); ```

Required Arguments

  • x: float
  • y: float
  • z: float
  • nth: int
  • nodetype: int
  • p5: float
  • p6: float

Return value

  • int

Example

```js // todo ```

See also