customTires
Used to set
or get
if custom tires are currently in use.
Useful when customizing different tire related effects like tire smoke.
Returns a boolean
.
Declaration
vehicle.customTires: boolean
Usage
const customTires = vehicle.customTires;
// OR
vehicle.customTires = true;
Real World Example
const vehicle = new alt.Vehicle('infernus', 0, 0, 0, 0, 0, 0);
vehicle.customTires = 1;
// 0 means there are no mods.
// Modkit implies a group of mods available for a vehicle.
if (vehicle.modKitsCount >= 1) {
vehicle.modKit = 1;
}
These examples assume you have vehicle created or available on server-side