Vehicle
Used to create a vehicle.
Declaration
alt.Vehicle(nameOrHash: string | number, x: number, y: number, z: number, rotX: number, rotY: number, rotZ: number): alt.Vehicle;
Usage
const vehicle = new alt.Vehicle('elegy', 0, 0, 0, 0, 0, 0);
Real World Usage
const vehicle = new alt.Vehicle('elegy', 0, 0, 0, 0, 0, 0);