Tanker job options

All under Config.TankerJob. How it plays: The tanker job.

General

  • Enabled — false = no depot, no blip, no fill prop handling. The fill props map file can then be deleted
  • Mode — "job" (guided rounds), "freeroam" or "both"
  • RequiredJob — the framework job needed to start, e.g. "fuel". nil or "" = anyone; standalone always can
  • TruckModel — the cab, phantom
  • TrailerModel — the trailer, tanker. nil = a rigid tanker truck, where the truck itself is the tank
  • TrailerSpawnBehind — how far behind the cab the trailer spawns, in metres
  • Tankers — every tank vehicle, by model. The trailer (or the truck, for a rigid tanker) must be listed here

Each Tankers entry:

  • Capacity — the litres it carries
  • Inlet — where the depot loading hose couples: Offset (local to the vehicle) and the handle's Rotation
  • Outlet — where the delivery hose comes out and is hung back: Offset (local)

Rounds

  • StopsPerRound — stops in a guided round. Each is a random station, aircraft or boat by its Weight, never more of a kind than its own StopsPerRound
  • RoundFill — the share of the tank a round uses, picked at random between the two values ({ 0.90, 0.97 }). Aircraft and boats take their own need, the stations share the rest
  • MaxStationDistance — the furthest a station stop may be from the depot, in metres. 0 = any distance
  • LoadRate — litres a second loading at the depot
  • FillRate — litres a second into a station tank
  • Stations — Enabled (false = rounds are aircraft and boats only, and freeroam tankers cannot fill stations) and Weight

Stations never repeat inside a round, the emptiest are preferred, and a kind with no free stand or mooring left becomes a station stop.

Pay

  • PayPerLitre — guided job pay per litre delivered (ESX / QBCore only)
  • PayAccount — the account it is paid into
  • RigLostFee — charged when the rig is wrecked or lost. 0 = free
  • RigLostAccounts — the accounts that fee is taken from, in order

Freeroam (Freeroam)

  • PayForFuel — drivers buy the fuel they load
  • PricePerLitre — what it costs
  • PayAccounts — the accounts tried in order. Loading stops at what the driver can afford
  • RefundOnReturn — buy unused fuel back at hand-back, at the same price

Aircraft stops (Aircraft)

  • Enabled / Weight — aircraft stops on or off, and how often they come up
  • StopsPerRound — at most this many aircraft in one round
  • PayPerLitre — their own pay rate. nil = the job's PayPerLitre
  • FillRate — litres a second into an aircraft
  • SpawnDistance — the aircraft spawns once the loaded rig's driver is this close. 0 = at once
  • FuelType — freeroam: the fuel an aircraft gets. nil = what its tank already holds
  • Spots — the stands. Each has a Label, Coords (its centre + heading), the Types it allows and optional Models (keeps the big jets off small stands). Each stand needs room for the rig within hose reach
  • Types — the aircraft kinds: small, heli and big

Each aircraft type:

  • Label — its name on the job card
  • VehicleType — "plane" or "heli"
  • Liters — the fuel it needs: a number, or { min, max }
  • BlipSprite — its map blip
  • PortDir — the way its fuel pipe points out
  • Radius — how far the refuel point may be from its centre
  • ClearRadius — the room its stand needs free before it spawns
  • InteractDistance — how close to the refuel point the player must be
  • Auto — how the refuel point is found on a model nobody measured: Y = the share of its length from the centre, MinHeight / MaxHeight = the band above the wheels it looks in
  • Models — the models it spawns. A model can set its own Port (local, left side; the right side is mirrored) and Stand (where the ground marker goes)
  • MinLength — big only: an unlisted plane longer than this counts as big

Boat stops (Boats)

The same keys as aircraft, plus:

  • Spots — Coords is where the boat floats (z = the water) and its heading. Park is where the rig parks; the route and a marker lead there. Jetty = { Start, Sections } is a floating jetty the script spawns for players to walk out on: Start = the shore end, deck height and heading out over the water, Sections = how many 4.4 m sections. The boat's refuel point must be within the delivery hose's reach of the parked trailer
  • Types — boat and yacht. Their Auto.Top looks down from above for the edge of the hull, between MinSide and MaxSide of the beam
  • MinLength — yacht only: an unlisted boat longer than this is a yacht
  • SpotShift — yacht only: yachts moor this much further out along the spot's heading

Boats are anchored and held still.

Depot (Depot)

  • JobPoint — where a round starts and is cancelled
  • TruckSpawns — the bays a rig spawns in: the first with no vehicle on it. All taken = the job cannot start
  • LoadHoses — one per driver loading at once: Anchor (where it leaves the tank), Handle (where the idle handle lies, from the anchor) and Rotation
  • ReturnPoint — where the rig is handed back: drive it within 20 m and press E
  • Blip — the depot blip: Sprite, Color, Scale, Label

Everything else

  • CancelCommand — type it twice within CancelConfirmMs to give a round up anywhere; it can also be bound in FiveM's key bindings. nil = cancel at the depot only
  • CancelConfirmMs — the window for the second command, in milliseconds
  • TruckBlip — the blip on your rig: Sprite, Color, Scale
  • SpawnFillProps — the fill props ship in the models resource's map file and are used where they stand. true = also spawn one at stations that have none. A station's own FillSpawn wins
  • InteractDistance — how close the player must be to a job point
  • Markers — the ground markers, one style each for Job, Return, Truck, Hose and Park, plus Alpha (the opacity of all of them)

Each marker style:

  • Ring — the size of the thin breathing ring on the ground
  • Icon — the GTA marker icon above it: 39 truck, 20 chevron, 4 chequered flag…
  • IconSize / IconHeight — its size and height above the ground
  • Color — { r, g, b }
  • IconFlip — turn the icon upside down
  • IconFaceCamera — keep the icon turned toward the camera
Get the scriptGet Refueling NozzlesFiveM Fuel Script →
Can't find what you need? Ask on Discord — response in under 5 hours.