setRearWheels

Used to set the rear wheels of a vehicle.

Usually only used with motorcycles. Otherwise use vehicle.setWheels for regular vehicles.

Declaration

vehicle.setRearWheels(wheelID: number): void

Usage

vehicle.setRearWheels(25);

Real World Example

const vehicle = new alt.Vehicle(`avarus`, 0, 0, 0, 0, 0, 0);
vehicle.setRearWheels(25);

These examples assume you have vehicle created or available on server-side

results matching ""

    No results matching ""