Skip to content
RPScripts

FiveM Vehicle Scripts

xFuel (FiveM Script)

CodeM xFuel

CodeM

  • ESX
  • Standalone
  • QBCore

Description

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 GetFuel and SetFuel for 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-fuel folder into your resources folder.
  • Set Config.Framework, Config.InteractionHandler, prices and locations in config/config.lua.
  • Add ensure x-fuel to your server.cfg.

Details

Frameworks
ESX, Standalone, QBCore
File size
7.9 MB
Creator
CodeM
Updated
Oct 3, 2026
How to install it

Installation

  1. Unzip the download into your server's resources folder.
  2. Add these lines to server.cfg, in this order:
    ensure x-fuel

Checked: the one resource of this download.

From a static check of the files by the RPScripts Lab. It is not a test that your server starts.

CodeM xFuel

$20.00€17.99£15.99A$28.99R$101.99CHF 16.99¥3,170

Can't find the exact script? Generate it.

Describe a custom script. 3 free credits per day, up to 15 per calendar month; no card needed.

Try the FiveM AI Script Generator