rearWheels

Used to get the current rear wheels of a vehicle.

If you want to set vehicle wheels look into vehicle.setMod

Returns a number.

Declaration

vehicle.rearWheels: number;

Usage

const rearWheels = vehicle.rearWheels;

Real World Example

No real use case for this unless you need to check if a vehicle mod is set or not.

const vehicle = new alt.Vehicle('elegy', 0, 0, 0, 0, 0, 0);
const currentRearWheels = vehicle.rearWheels;

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

results matching ""

    No results matching ""