# Vehicle Entry Generator: Add Vehicles to QBCore (vehicles.lua Generator)

Generate an entry for the **`local Vehicles` array** in the referenced `qb-core/shared/vehicles.lua`. This format includes the explicit `model`, vehicle `type` and `shop` fields consumed by the current source. It is not the older model-keyed configuration format.

## Tuning guidance

This tool edits shared vehicle configuration only. It does **not** modify handling, install model files, create a dealership, grant keys or persist ownership. Choose a category, type and shop supported by your installed resources. Sample defaults are editable examples, not a recommended economy configuration.

For the complete process, follow [Add custom vehicles to QBCore](/docs/guides/add-custom-vehicles): asset validation → shared entry → dealership or job garage → keys and persistence.

## Export & rollout

Paste the entry inside the existing `local Vehicles = { ... }` list, preserving its surrounding entries and the lookup-building loop. Do not paste it after the list or replace the whole file. Compare older forks before using this format.

Review the diff and perform a coordinated staging restart after changing shared core configuration. `refresh` rescans resources; it does not reload an already-running core's Lua table. Test selection, purchase, keys, storage and reconnect through your actual integrations before production deployment.

## Source

[QBCore vehicle definitions and numeric array loop at 9b3cddcc](https://github.com/qbcore-fivem/qb-core/blob/9b3cddcce93e5e12cbcf6b47b866b687d32ac7bf/shared/vehicles.lua). Generated configuration is not executed by this website.
