JG Docs
HUD

Fuel Systems

Fuel scripts the JG HUD fuel gauge can read from

The fuel gauge reads your vehicle's fuel level from your fuel script. Set Config.FuelSystem in config.lua to the script you use:

Config.FuelSystem = "ox_fuel"

Supported fuel scripts

ScriptConfig.FuelSystem value
LegacyFuelLegacyFuel
lc_fuellc_fuel
ps-fuelps-fuel
lj-fuellj-fuel
ox_fuelox_fuel
cdn-fuelcdn-fuel
hyon_gas_stationhyon_gas_station
okokGasStationokokGasStation
nd_fuelnd_fuel
myFuelmyFuel
ti_fuelti_fuel
Renewed-FuelRenewed-Fuel
rcore_fuelrcore_fuel

If you don't use a fuel script, set it to none and the gauge will always show full. You can also wire up a custom fuel system in framework/cl-functions.lua.

On this page