sg-fuel-truck-job

v1.1.0

A fuel truck delivery job addon for sg-fuel. Players can deliver fuel tankers to gas stations, adding a roleplay element to fuel station restocking.

QBCorePurchase

Overview

A fuel truck delivery job addon for sg-fuel. Players can deliver fuel tankers to gas stations, adding a roleplay element to fuel station restocking.

Features

  • Business Deliveries – Job holders can deliver fuel to their assigned stations
  • Public Rentals – Any player can rent a truck and deliver to stations that can afford it
  • Damage System – Truck damage tracking with repair mechanic NPC
  • Dynamic Blips – Color-coded blips showing which stations can afford deliveries
  • Multi-Location Support – Multiple tanker spawn points to prevent conflicts

Dependencies

  • qb-core - QBCore Framework
  • sg-fuel (or LegacyFuel with modifications)
  • qb-target or ox_target
  • qb-banking or Renewed-Banking

Installation

1

Ensure sg-fuel is installed

Ensure sg-fuel is installed and running

2

Place Resource

Place sg-fuel-truck-job in your resources folder

3

Add to server.cfg

ensure sg-fuel-truck-job

(after sg-fuel)

4

Configure

Configure shared/config.lua to match your server

Configuration

Key settings in config.lua:

OptionDescription
Config.FuelScriptYour fuel script ('sg-fuel' or 'LegacyFuel')
Config.BankingSystemBanking system ('qb-banking' or 'Renewed-Banking')
Config.UseTargetTarget system ('qb-target' or 'ox_target')
Config.RewardPayment for completing a delivery
Config.FuelAmountAmount of fuel delivered per tanker
Config.BusinessesConfigure business locations, jobs, and prices

How It Works

  1. Start Delivery – Interact with NPC at your business (job) or public rental location
  2. Collect Tanker – Drive to the marked location and hook up the tanker
  3. Deliver Fuel – Return to a gas station and complete the delivery
  4. Get Paid – Receive payment upon successful delivery

Commands

  • /cancelfueldelivery – Cancel your current delivery

Credits

Author: sgMAGLERA
Version: 1.1.0