get a session based ID for a vehicle. It is not persistent.
const currentID = vehicle.id;
Real World Example
const vehicle = new alt.Vehicle('elegy', 0, 0, 0, 0, 0, 0); console.log(vehicle.id);
These examples assume you have vehicle created or available on