How to add a custom vehicle to an ESX, QBCore or QBox server
A streamed vehicle resource does not depend on the framework. Nilo3D vehicles have no framework code at all, so the install is the same on ESX, QBCore, QBox or a standalone server. The framework only matters when you want the vehicle in a shop or garage.
Steps
Install the resource
Put the folder in
resourcesand addensuretoserver.cfg. The full steps are in the Cfx.re Escrow install guide.Test it with the spawn name
Spawn it with your admin vehicle command and the spawn name (for example
scooterorairglider). If it spawns, the resource is working.Add it to the framework vehicle list
To sell it in a dealership, add the spawn name to your framework list: on QBCore
qb-core/shared/vehicles.lua, on QBoxqbx_core/shared/vehicles.lua, on ESX thevehiclestable in the database used by the vehicle shop.Tune if you want
On Nilo3D vehicles the handling and vehicle metas are left open, so you can change speed and colors on your server.
Each Nilo3D model has its own vehicle layout, so the custom stand-up and entry animations only apply to that model. Other bikes on your server are not changed.
Products from this guide
- Coil S-Cooter: FiveM Electric Scooter
- Hoverboard Pack: 3 FiveM Hoverboards
- Complete Bundle: FiveM Scooter + Hoverboards
- Pogo Stick: FiveM Pogo Stick Script
All guides
- How to install a FiveM resource from Cfx.re Escrow (Granted Assets)
- What are LODs in FiveM vehicles?
- How to add an add-on vehicle to a FiveM server
- vehicles.meta explained, field by field
- handling.meta explained: fields, units and flags
- carvariations.meta and carcols.meta explained
- vehiclelayouts.meta explained: seats, entry points and animations
- fxmanifest data_file reference for vehicles
- Vehicle model files (yft, _hi.yft, ytd) and the oversized asset warning
- FiveM add-on vehicle troubleshooting: causes and fixes
- How to fix "You lack the required entitlement" on a FiveM server
- How to convert a single-player GTA 5 car mod to a FiveM add-on
- How a FiveM hoverboard works without a script
- How to make a FiveM vehicle in Blender with Sollumz 2.9
- How to optimise a FiveM vehicle: polygons, LODs and texture budget
- How to set up vehicle collision in Sollumz
- Buying FiveM vehicles: what to check before you pay
- FiveM car packs vs single vehicles
- Real-brand cars on FiveM: allowed or not?
- CodeWalker vs Sollumz: which tool for FiveM vehicles?
