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
| Script | Config.FuelSystem value |
|---|---|
| LegacyFuel | LegacyFuel |
| lc_fuel | lc_fuel |
| ps-fuel | ps-fuel |
| lj-fuel | lj-fuel |
| ox_fuel | ox_fuel |
| cdn-fuel | cdn-fuel |
| hyon_gas_station | hyon_gas_station |
| okokGasStation | okokGasStation |
| nd_fuel | nd_fuel |
| myFuel | myFuel |
| ti_fuel | ti_fuel |
| Renewed-Fuel | Renewed-Fuel |
| rcore_fuel | rcore_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.