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

Pathfind::isPointOnRoad

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

Gets a value indicating whether the specified position is on a road.
The vehicle parameter is not implemented (ignored).

-MulleDK19

Syntax

<syntaxhighlight lang="javascript">mp.game.pathfind.isPointOnRoad(x, y, z, vehicle);</syntaxhighlight>

Required Arguments

  • x: float
  • y: float
  • z: float
  • vehicle: Vehicle handle or object

Return value

  • Boolean

Example

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

See also

Шаблон:Pathfind s function c