UNPKG

@nativewrappers/redm

Version:

Native wrappers and utilities for use with RedM.

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