Skip
netMPEnglish

PATH

59 functions. All namespaces

native.addNavmeshBlockingObject(p0: float, p1: float, p2: float, p3: float, p4: float, p5: float, p6: float, p7: BOOL, p8: Any): int

ADD_NAVMESH_BLOCKING_OBJECT

native.addNavmeshRequiredRegion(x: float, y: float, radius: float): void

ADD_NAVMESH_REQUIRED_REGION

native.adjustAmbientPedSpawnDensitiesThisFrame(p0: Any, p1: Any, p2: Any, p3: Any, p4: Any, p5: Any, p6: Any): void

ADJUST_AMBIENT_PED_SPAWN_DENSITIES_THIS_FRAME

native.areAllNavmeshRegionsLoaded(): BOOL

ARE_ALL_NAVMESH_REGIONS_LOADED

native.areNodesLoadedForArea(x1: float, y1: float, x2: float, y2: float): BOOL

ARE_NODES_LOADED_FOR_AREA

native.calculateTravelDistanceBetweenPoints(x1: float, y1: float, z1: float, x2: float, y2: float, z2: float): float

CALCULATE_TRAVEL_DISTANCE_BETWEEN_POINTS

native.clearGpsDisabledZoneAtIndex(index: int): void

CLEAR_GPS_DISABLED_ZONE_AT_INDEX

native.disableNavmeshInArea(x1: float, y1: float, z1: float, x2: float, y2: float, z2: float, toggle: BOOL): void

DISABLE_NAVMESH_IN_AREA

native.doesNavmeshBlockingObjectExist(p0: Any): BOOL

DOES_NAVMESH_BLOCKING_OBJECT_EXIST

native.generateDirectionsToCoord(x: float, y: float, z: float, p3: BOOL, direction: int (in/out), p5: float (in/out), distToNxJunction: float (in/out)): int

GENERATE_DIRECTIONS_TO_COORD

native.getApproxFloorForArea(x1: float, y1: float, x2: float, y2: float): float

GET_APPROX_FLOOR_FOR_AREA

native.getApproxFloorForPoint(x: float, y: float): float

GET_APPROX_FLOOR_FOR_POINT

native.getApproxHeightForArea(x1: float, y1: float, x2: float, y2: float): float

GET_APPROX_HEIGHT_FOR_AREA

native.getApproxHeightForPoint(x: float, y: float): float

GET_APPROX_HEIGHT_FOR_POINT

native.getClosestMajorVehicleNode(x: float, y: float, z: float, outPosition: Vector3 (in/out), unknown1: float, unknown2: float): BOOL

GET_CLOSEST_MAJOR_VEHICLE_NODE

native.getClosestVehicleNode(x: float, y: float, z: float, outPosition: Vector3 (in/out), nodeFlags: int, p5: float, p6: float): BOOL

GET_CLOSEST_VEHICLE_NODE

native.getClosestVehicleNodeWithHeading(x: float, y: float, z: float, outPosition: Vector3 (in/out), outHeading: float (in/out), nodeType: int, p6: float, p7: float): BOOL

GET_CLOSEST_VEHICLE_NODE_WITH_HEADING

native.getGpsBlipRouteFound(): BOOL

GET_GPS_BLIP_ROUTE_FOUND

native.getGpsBlipRouteLength(): int

GET_GPS_BLIP_ROUTE_LENGTH

native.getNextGpsDisabledZoneIndex(): int

GET_NEXT_GPS_DISABLED_ZONE_INDEX

native.getNthClosestVehicleNode(x: float, y: float, z: float, nthClosest: int, outPosition: Vector3 (in/out), nodeFlags: int, unknown1: float, unknown2: float): BOOL

GET_NTH_CLOSEST_VEHICLE_NODE

native.getNthClosestVehicleNodeFavourDirection(x: float, y: float, z: float, desiredX: float, desiredY: float, desiredZ: float, nthClosest: int, outPosition: Vector3 (in/out), outHeading: float (in/out), nodeFlags: int, p10: float, p11: float): BOOL

GET_NTH_CLOSEST_VEHICLE_NODE_FAVOUR_DIRECTION

native.getNthClosestVehicleNodeId(x: float, y: float, z: float, nth: int, nodeFlags: int, p5: float, p6: float): int

GET_NTH_CLOSEST_VEHICLE_NODE_ID

native.getNthClosestVehicleNodeIdWithHeading(x: float, y: float, z: float, nthClosest: int, outHeading: float (in/out), outNumLanes: int (in/out), nodeFlags: int, zMeasureMult: float, zTolerance: float): int

GET_NTH_CLOSEST_VEHICLE_NODE_ID_WITH_HEADING

native.getNthClosestVehicleNodeWithHeading(x: float, y: float, z: float, nthClosest: int, outPosition: Vector3 (in/out), outHeading: float (in/out), outNumLanes: int (in/out), nodeFlags: int, unknown3: float, unknown4: float): BOOL

GET_NTH_CLOSEST_VEHICLE_NODE_WITH_HEADING

native.getNumNavmeshesExistingInArea(x1: float, y1: float, z1: float, x2: float, y2: float, z2: float): int

GET_NUM_NAVMESHES_EXISTING_IN_AREA

native.getPosAlongGpsTypeRoute(result: Vector3 (in/out), p1: BOOL, p2: float, p3: int): BOOL

GET_POS_ALONG_GPS_TYPE_ROUTE

native.getPositionBySideOfRoad(x: float, y: float, z: float, p3: int, outPosition: Vector3 (in/out)): BOOL

GET_POSITION_BY_SIDE_OF_ROAD

native.getRandomVehicleNode(x: float, y: float, z: float, radius: float, p4: BOOL, p5: BOOL, p6: BOOL, outPosition: Vector3 (in/out), nodeId: int (in/out)): BOOL

GET_RANDOM_VEHICLE_NODE

native.getRoadBoundaryUsingHeading(x: float, y: float, z: float, heading: float, outPosition: Vector3 (in/out)): BOOL

GET_ROAD_BOUNDARY_USING_HEADING

native.getSafeCoordForPed(x: float, y: float, z: float, onGround: BOOL, outPosition: Vector3 (in/out), flags: int): BOOL

GET_SAFE_COORD_FOR_PED

native.getSpawnCoordsForVehicleNode(nodeAddress: int, towardsCoorsX: float, towardsCoorsY: float, towardsCoorsZ: float, centrePoint: Vector3 (in/out), heading: float (in/out)): void

GET_SPAWN_COORDS_FOR_VEHICLE_NODE

native.getStreetNameAtCoord(x: float, y: float, z: float, streetName: Hash (in/out), crossingRoad: Hash (in/out)): void

GET_STREET_NAME_AT_COORD

native.getVehicleNodeIsGpsAllowed(nodeID: int): BOOL

GET_VEHICLE_NODE_IS_GPS_ALLOWED

native.getVehicleNodeIsSwitchedOff(nodeID: int): BOOL

GET_VEHICLE_NODE_IS_SWITCHED_OFF

native.getVehicleNodePosition(nodeId: int, outPosition: Vector3 (in/out)): void

GET_VEHICLE_NODE_POSITION

native.getVehicleNodeProperties(x: float, y: float, z: float, density: int (in/out), flags: int (in/out)): BOOL

GET_VEHICLE_NODE_PROPERTIES

native.isNavmeshLoadedInArea(x1: float, y1: float, z1: float, x2: float, y2: float, z2: float): BOOL

IS_NAVMESH_LOADED_IN_AREA

native.isNavmeshRequiredRegionInUse(): BOOL

IS_NAVMESH_REQUIRED_REGION_IN_USE

native.isPointOnRoad(x: float, y: float, z: float, vehicle: Vehicle): BOOL

IS_POINT_ON_ROAD

native.isVehicleNodeIdValid(vehicleNodeId: int): BOOL

IS_VEHICLE_NODE_ID_VALID

native.loadAllPathNodes(bLoadAll: BOOL): BOOL

LOAD_ALL_PATH_NODES

native.removeNavmeshBlockingObject(p0: Any): void

REMOVE_NAVMESH_BLOCKING_OBJECT

native.removeNavmeshRequiredRegions(): void

REMOVE_NAVMESH_REQUIRED_REGIONS

native.requestPathNodesInAreaThisFrame(x1: float, y1: float, x2: float, y2: float): BOOL

REQUEST_PATH_NODES_IN_AREA_THIS_FRAME

native.setAllowStreamHeistIslandNodes(type: int): void

SET_ALLOW_STREAM_HEIST_ISLAND_NODES

native.setAllowStreamPrologueNodes(toggle: BOOL): void

SET_ALLOW_STREAM_PROLOGUE_NODES

native.setAmbientPedRangeMultiplierThisFrame(multiplier: float): void

SET_AMBIENT_PED_RANGE_MULTIPLIER_THIS_FRAME

native.setGpsDisabledZone(x1: float, y1: float, z1: float, x2: float, y2: float, z3: float): void

SET_GPS_DISABLED_ZONE

native.setGpsDisabledZoneAtIndex(x1: float, y1: float, z1: float, x2: float, y2: float, z2: float, index: int): void

SET_GPS_DISABLED_ZONE_AT_INDEX

native.setIgnoreNoGpsFlag(toggle: BOOL): void

SET_IGNORE_NO_GPS_FLAG

native.setIgnoreNoGpsFlagUntilFirstNormalNode(toggle: BOOL): void

SET_IGNORE_NO_GPS_FLAG_UNTIL_FIRST_NORMAL_NODE

native.setPedPathsBackToOriginal(x1: float, y1: float, z1: float, x2: float, y2: float, z2: float, p6: Any): void

SET_PED_PATHS_BACK_TO_ORIGINAL

native.setPedPathsInArea(x1: float, y1: float, z1: float, x2: float, y2: float, z2: float, p6: BOOL, p7: Any): void

SET_PED_PATHS_IN_AREA

native.setRoadsBackToOriginal(p0: float, p1: float, p2: float, p3: float, p4: float, p5: float, p6: Any): void

SET_ROADS_BACK_TO_ORIGINAL

native.setRoadsBackToOriginalInAngledArea(x1: float, y1: float, z1: float, x2: float, y2: float, z2: float, width: float, p7: Any): void

SET_ROADS_BACK_TO_ORIGINAL_IN_ANGLED_AREA

native.setRoadsInAngledArea(x1: float, y1: float, z1: float, x2: float, y2: float, z2: float, width: float, unknown1: BOOL, unknown2: BOOL, unknown3: BOOL): void

SET_ROADS_IN_ANGLED_AREA

native.setRoadsInArea(x1: float, y1: float, z1: float, x2: float, y2: float, z2: float, nodeEnabled: BOOL, unknown2: BOOL): void

SET_ROADS_IN_AREA

native.updateNavmeshBlockingObject(p0: Any, p1: float, p2: float, p3: float, p4: float, p5: float, p6: float, p7: float, p8: Any): void

UPDATE_NAVMESH_BLOCKING_OBJECT