Requirements
- FiveM server
- MySQL or MariaDB
- One of:
es_extended,qb-core, orqbx_core ox_lib,oxmysqlox_target(optional — the script falls back to markers)- A vehicle resource that streams the custom truck models (see below)
Custom truck models
The dealership and rental lists reference five custom trucks that are not bundled with the resource:aerocab, blacktop, brickades, linerunner, and vetirs. Stream them from a separate vehicle resource that starts before nex_trucking. The remaining trucks (hauler, phantom, phantom3, packer) and every trailer are vanilla GTA V models and always work.
On startup the client audits every model referenced by the config and prints a warning to the F8 console listing any that aren’t registered. If you don’t run a truck pack, remove the custom entries from
config/dealership.lua and from Config.Contracts.rental.availableTrucks in config/main.lua.Steps
-
Drop the
nex_truckingfolder into your resources, e.g.resources/[nex]/nex_trucking/. -
Add it to
server.cfgafter its dependencies (and after your truck pack): -
Restart the server. Database tables (
nex_trucking_*) are created automatically on first boot — there is no SQL file to import. Automatic creation is controlled byConfig.CreateTablesinconfig/main.lua(defaulttrue).
Checking it worked
Your server console should print:All N configured vehicle models are registered. or a warning listing missing models.
Language
Translations are JSON files underlocales/. The script uses ox_lib’s locale system, so set the ox:locale convar in server.cfg:
locales/<lang>.json and select them with the same convar.
Updating
- Back up your
config/andlocales/folders. - Replace the rest of the script with the new release.
- Restore your configs and restart the resource — schema migrations run automatically at boot.

