Pathfind::getClosestMajorVehicleNode

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

Get the closest vehicle node to a given position, unknown1 = 3.0, unknown2 = 0

Syntax

mp.game.pathfind.getClosestMajorVehicleNode(x, y, z, outPosition, unknown1, unknown2);

Required Arguments

  • x: float
  • y: float
  • z: float
  • outPosition: Vector3
  • unknown1: float
  • unknown2: int

Return value

  • Vector3

Example

// todo

See also

Template:Pathfind s function c