Import Vehicles
Last updated
Last updated
To start importing vehicles place yourself in an open zone because the script will start spawning vehicles in order to retrieve their specs.
If you're importing addon vehicles, make sure FiveM knows how they're named. To do this, go to
client/editable/vehnames.lua
and add each vehicle's spawn name and label to themyAddonVehicles
table.
If you skip this step, all your addon vehicles names will be saved as "NULL".
Model Name: Use this field to specify the exact vehicle model to import when adding new vehicles to your server.
Import All Vehicles: Imports all vehicles from your server. This process may take a few minutes, depending on your PC's performance.
If you want to import your vehicles from your Framework set Config.UseFrameworkVehicles = true in config/_config.lua
/ This option only works with QBCore and Qbox.
This print can mean the following:
You have some addon vehicles folder where one of the vehicles.meta file have registered vehicles that does NOT exist in your server, meaning the .yft files are missing.
If importing a single vehicle, you entered one that does not exist in your server files.
Solution:
You can either ignore the warning and continue, or edit your
vehicles.meta
file to find and remove the missing vehicle entry.