Pathfind::getVehicleNodeProperties

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

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

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

// todo

See also

Template:Pathfind s function c