Skip to main content

Pathfind::getVehicleNodeProperties

MulleDK19: Gets the density and flags of the closest node to the specified position. Density is a value between 0 and 15, indicating how busy the road is. Flags is a bit field.

Syntax

```js mp.game.pathfind.getVehicleNodeProperties(x, y, z, density, flags); ```

Required Arguments

  • x: float
  • y: float
  • z: float
  • density: int
  • flags: int

Return value

  • object: density, flags

Example

```js // todo ```

See also