Pathfind::isPointOnRoad

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

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

-MulleDK19

Syntax

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

// todo

See also

Template:Pathfind s function c