Dependencies
Database Setup
Run the following SQL against your database before starting the resource for the first time. This creates the table that stores each player’s level and XP.A pre-built
.sql file is included in the resource root (shtrucking.sql). You can import it directly rather than copying the query above. If you start the resource without running the SQL first, players will receive database errors when they attempt to take a job.Job Tiers
Players unlock higher tiers by accumulating XP through completed deliveries. Medium and Big jobs require a trailer, increasing both the challenge and the reward.| Tier | Unlock Requirement | Pay Range | XP per Delivery | Vehicle |
|---|---|---|---|---|
| Small | 0 XP — always available | 200 | 100–200 XP | boxville4 |
| Medium | 5,000 XP | 400 | 200–400 XP | packer + trailers2 |
| Big | 10,000 XP | 800 | 400–800 XP | packer + tr4 |
Gameplay Flow
Find the NPC
Locate the trucking NPC on your map — a blip marks their position at the trucking depot. Walk up and interact using your configured target method (third-eye or proximity
[E]).Choose a tier
Select a job tier from the menu. Tiers you have not yet unlocked will be greyed out based on your current XP.
Collect your truck
A truck spawns nearby at the configured spawn point. For Medium and Big jobs, a trailer also spawns — hitch it before heading out.
Make the delivery
Follow the route marker to the delivery destination and drop off your load. The script validates arrival before marking the job complete.
Configuration
All primary settings live inshared/config.lua.
shared/config.lua
Supported frameworks and what each value means
Supported frameworks and what each value means
qb— QBCore; uses QBCore player object for payments and identityesx— ESX Legacy; uses ESX player objectnat— NAT2K15 money systemnd— ND_Corestandalone— No framework; payments are handled by the built-in cash drop method
Supported target systems
Supported target systems
'qb'— qb-target third-eye interaction'ox'— ox_target third-eye interactionfalse— Proximity[E]key; no target resource needed
Supported fuel resources
Supported fuel resources
LegacyFuel— LegacyFuel by InZidiuZps-fuel— ps-fuel by Project Slothbigdaddy— BigDaddy fuelrhud— Renewed HUD integrated fuel
NPC Blip
The job NPC blip is visible on the map by default. You can adjust its appearance inshared/config.lua under the Config.Blip block — change the sprite number, colour index, and scale to match your server’s UI style.
shared/config.lua