Перейти к содержанию

Pathfind::getVehicleNodeProperties

Материал из RAGE MP Wiki Archive

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

<syntaxhighlight lang="javascript">mp.game.pathfind.getVehicleNodeProperties(x, y, z, density, flags);</syntaxhighlight>

Required Arguments

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

Return value

  • object: density, flags

Example

<syntaxhighlight lang="javascript"> // todo </syntaxhighlight>

See also

Шаблон:Pathfind s function c