UNPKG

@nativewrappers/redm

Version:

Native wrappers and utilities for use with RedM.

8 lines (7 loc) 469 B
import type { Vector3 } from "../common/utils/Vector"; import { Vehicle } from "../entities/Vehicle"; import type { Model } from "../Model"; /** * Creates a vehicle at the specified {@param spawnPos}, you don't need to request the model before this. */ export declare function createVehicle(model: Model, spawnPos: Vector3, heading: number, isNetwork?: boolean, bScriptHostVeh?: boolean, bDontAutoCreateDraftAnimals?: boolean, p8?: boolean): Promise<Vehicle | null>;