model

Used to get the vehicle model as a joaat hash.

Returns a string.

Declaration

vehicle.model: string;

Usage

const currentModelHash = vehicle.model;

Real World Example

const vehicle = new alt.Vehicle('sanchez', 0, 0, 0, 0, 0, 0);
const currentModelHash = vehicle.model;

console.log(currentModelHash);

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

results matching ""

    No results matching ""