setWheels

Used to set the wheels of a vehicle. Applies to vehicles and motorcycles.

Declaration

vehicle.setWheels(wheelType: number, wheelID: number): void;

Usage

vehicle.setWheels(0, 25);

Real World Example

const vehicle = new alt.Vehicle('dloader', 0, 0, 0, 0, 0, 0);
vehicle.setWheels(0, 25);

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

results matching ""

    No results matching ""