CodeM xFuel (x-fuel) is a fuel system for FiveM with its own refuelling UI. It runs on ESX, QBCore or standalone, which you set in the config.
Features
- Four fuel types with their own price: Diesel, Economic, Super and Super Plus
- Refuelling UI with vehicle images and payment by cash or bank
- Preset gas station locations with blips (show all or only the nearest)
- Interaction by DrawText, ox_target or qb-target
- Optional CodeM TextUI
- Exports
GetFuelandSetFuelfor other scripts - Editable client and server files for your own integrations
Requirements
- ESX, QBCore or standalone (
Config.Framework: esx, qb, standalone or autodetect) - Optional: ox_target or qb-target
Installation
- Copy the
x-fuelfolder into your resources folder. - Set
Config.Framework,Config.InteractionHandler, prices and locations inconfig/config.lua. - Add
ensure x-fuelto your server.cfg.