frontWheels

Used to get the current front wheels of a vehicle.

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

Returns a number.

Declaration

vehicle.frontWheels: number;

Usage

const frontWheels = vehicle.frontWheels;

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 currentFrontWheels = vehicle.frontWheels;

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

results matching ""

    No results matching ""