Skip to main content

Pathfind::isPointOnRoad

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

-MulleDK19

Syntax​

```js mp.game.pathfind.isPointOnRoad(x, y, z, vehicle); ```

Required Arguments​

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

Return value​

  • Boolean

Example​

```js // todo ```

See also​