import type { eVehicleSeat } from '../enums/eVehicleSeat'; import { Vector3 } from '../types/Vector3'; import { BaseTask } from './BaseTask'; import type { Vehicle } from './Vehicle'; import { int, float } from '../types/NativeAliases'; export declare class VehicleTask extends BaseTask { constructor(entity: Vehicle); /** * @param p1 */ everyoneLeaveVehicleInOrder(p1: boolean): void; /** * Vehicle Auto Drive (?) * p1/p2/p3: usually 1f, 1f, 0f or 0f, 0f, 0f * Speed: usually 8f * Types: 1148979456 (task with flee), 1148979587 (dismissing the vehicle) * * @param p1 * @param p2 * @param p3 * @param speed * @param type */ vehicleFleeOnCleanup(p1: float, p2: float, p3: float, speed: float, type: string | number): void; /** * @param speed */ vehicleWaypointPlaybackOverrideSpeed(speed: float): void; /** * @returns */ get VehicleWaypointProgress(): int; /** * Clears the vehicle's **primary** AI task slot (e.g., scripted drive/nav tasks). */ clearVehicleTasks(): void; /** * Sets which seat index acts as the "driver seat" for driving tasks. https://www.youtube.com/watch?v=bjXrHOTgtu0&feature=youtu.be * * @param seatIndex The vehicle modify * @returns The instance for method chaining */ setDrivingSeat(seatIndex?: eVehicleSeat): this; /** * @returns Returns the {@link eSeatSeat} */ get DrivingSeat(): int; /** * Works exactly like except that it take a ped parameter (it doesn't give its driver a task), and it removes `p10`. * * @param pos * @param speed * @param drivingFlags * @param p6 * @param stoppingRange1 * @param stoppingRange2 */ vehicleDriveToDestination2(pos: Vector3, speed: float, drivingFlags: int, p6: int, stoppingRange1: float, stoppingRange2: float): void; /** * @returns */ get ActiveVehicleMissionType(): int; /** * @param destination * @returns */ vehicleIsAtDestination(destination: Vector3): boolean; /** * @returns */ get VehicleWaypointTargetPoint(): int; vehicleWaypointPlaybackPause(): void; /** * Params: p4 = 3.f or 8.f, p5 = 0.25f, p6 = 0 in R* Scripts * * @param pos * @param p4 * @param p5 * @param p6 */ vehicleDriveToPoint2(pos: Vector3, p4: float, p5: float, p6: any): void; vehicleWaypointPlaybackUseDefaultSpeed(): void; /** * Clears the vehicle's **secondary/aux** AI task slot (aux behaviors/overlays). */ clearVehicleTasksSecondary(): void; vehicleWaypointPlaybackResume(): void; } //# sourceMappingURL=VehicleTask.d.ts.map