Hoses, sounds and HUD

Hoses (Config.Settings.HoseInfo)

Four hoses, each with its own block: Pump, Charger, Tanker and Siphon (the jerry can's tube).

  • RopeLength — the hose's starting length
  • RopeMaxLength — how far it reaches before it snaps; it lies on the ground in between. Pump 7 m, charger 7 m, tanker delivery hose 20 m, siphon tube 4.5 m
  • ExplodeAfterRopeBreak — a snapped pump or charger hose explodes at the pump
  • BreakFee — charged when the pump hose, the charger cable or the tanker's delivery hose snaps (ESX / QBCore, 0 = free). The Hose snapped card shows the amount once it has actually been taken. The siphon tube never costs anything
  • CustomRope — the hose's look: DiffuseTexture / NormalMap (texture names inside rope.ytd, see Rope textures), Radius (thickness), NumSections (vertex count), Enabled, and DefaultRopeType (the stock rope used if the custom one cannot be registered). Change the textures and the thickness freely; leave the rest as shipped. Anything you leave out of the block falls back to the script's own values

The tanker block adds:

  • DepotMaxLength — the depot loading hose's reach
  • DepotBreakFee — charged when the loading hose snaps

The siphon block adds:

  • CapInset — how far the tube goes into the filler
  • Slack — extra tube, so the middle sags

And for every hose:

  • Physics.Enabled — false = a simple hanging rope instead of a hose laid on the ground
  • DrawDistance — hoses further than this from the camera are not drawn

Pump and charger hoses snap without a warning; the tanker hose shows a full stretch warning first.

Sounds (Config.Sounds)

Every sound is an .ogg file in refuelingnozzlesv2/html/sounds, and File is its name without the extension. Drop your own file in under the same name to replace one.

One-shots — Click (nozzle in and out), Pickup, Place, CanEmpty (pouring a can away), CanFill (filling a can at a pump), TankerPickup, TankerDrop, TankerCouple, TankerUncouple and Beep (the touch screen):

  • File — the sound file
  • Volume — its loudness
  • MaxDistance — how far away it can be heard

Loops — Pumping, Charging, TankerFill, CanPour and CanSiphon, heard in 3D by every player nearby:

  • MaxVolume — the loudness up close
  • BackVolume — how much quieter it is behind the camera
  • FadeInMs — how long the loop takes to come up, eased
  • PitchVariation — a slow random drift, so a running pump breathes: Enabled, Depth (pitch), VolumeDepth (volume), IntervalMs
  • SkipStartSeconds — skip this much of the file's start

CanPour and CanSiphon follow the jerry can in the player's hand. For all of them:

  • UpdateInterval — milliseconds between 3D sound updates
  • MaxPan — how far a 3D sound leans to one side (1 = one ear only)
  • PanFullDistance — the distance at which it leans that far; closer sources lean less

Fuel HUD (Config.HUD)

  • Enabled — the built-in fuel gauge in vehicles. false = no gauge, use your own HUD: see Using your own fuel HUD
  • Left / Bottom — where it sits, as CSS values
  • Scale — its size
  • RemoveForBlacklisted — hide it in Blacklist vehicles. false = show a full gauge there
Get the scriptGet Refueling NozzlesFiveM Fuel Script →
Can't find what you need? Ask on Discord — response in under 5 hours.