Trucker Job
Resource folder:
gs_truckerjob
Installation Instructions for Trucker Job
Follow these steps to install and configure
gs_truckerjob on your FiveM server.
-
Download the Resource
- Go to portal.cfx.re
-
Navigate to Assets > Granted Assets >
gs_truckerjob - Download the resource
-
Extract the Files
-
Open the downloaded
.zipfile -
Inside, you'll find a folder named
gs_truckerjob -
Move the entire
gs_truckerjobfolder into your desired server resources folder (e.g.,/resources/[scripts])
-
Open the downloaded
-
Add to Server Configuration
- Open your
server.cfg -
Add the following line:
ensure gs_truckerjob
- Open your
-
Restart the Server
- Restart your FiveM server (Important!)
-
Configure the Script (Optional)
- Navigate to
gs_truckerjob/config.lua - Edit the configuration options to fit your server's needs
- Navigate to
Why was I not paid after finishing a delivery?
Payout is batched, not per trip. By default you are paid after completing Config.AmountOfRoutes runs (default is 3), not after every single delivery. Lower that value in config if you want fewer trips before reward.
Can I add more delivery zones on the escrow version?
Yes. Locations are fully configurable in config.lua even on the escrow build. You do not need the open-source version to add places like Roxwood or other map additions. NPCs, vehicles, props, and rewards are also configurable there.
Players lose truck keys after getting out (qb-vehiclekeys)
Add hauler-class trucks to NoLockVehicles in qb-vehiclekeys config:
Config.NoLockVehicles = { 'hauler', 'packer', 'phantom' }
This stops the job truck from locking players out when they exit to hook up a trailer.
The job truck spawns with very low fuel
Use the Functions.OnSpawnTruck hook in the client bridge to set fuel through your fuel script (for example lc_fuel) when the truck spawns. This is the supported place to integrate third-party fuel systems.
How do I send job notifications through lb-phone or another phone script?
Edit Functions.Notify in the client bridge and call your phone script's export or event instead of the default notification. Any script that routes through that bridge function will then use your phone UI.
Can I customize what happens when the truck spawns?
Yes. Functions.OnSpawnTruck in the client bridge is the right hook for fuel, keys, liveries, or any other spawn-time logic tied to the rented job truck.