[PAID] Advanced Fuel System

TAM_Fuel

TAM_Fuel is the most advanced fuel system developed for FiveM yet. Integrating seamlessly into your server, delivering an immersive fuel management experience for your players. Including, but not limited to, fuel types like Diesel & AVGas, Dynamic and realistic fuel consumption, fully custom props, preconfigured EV charger and fuel stations, blips, full localization, custom UI & more! Re-standardizing the fuel systems in FiveM and giving your players an experience they’ll never forget.

Features

  • Realistic Fuel Consumption per vehicle RPM percentage & vehicle class.
  • Compatible with QBCore, QBox, ESX, NDCore frameworks or standalone (or adapt your own!)
  • Multiple Fuel Types (Gasoline, Diesel, AVGAS/JetFuel & Electric). We have plans to add more in the future!
  • Configurable pricing and refuel rate per fuel type.
  • 3rd-eye interaction system (ox_target).
  • Multiple progress bar styles (circle & bar from ox_lib or your own).
  • Full jerrycan support (Buying, refueling vehicles & refilling).
  • Custom nozzle props based on the fuel type used.
  • Custom EV Charger props.
  • Fully support blips
  • Support for AI peds to purchase or refill jerry cans.
  • Ability to spawn additional pumps around the map
  • Dozens of preconfigured EV charger locations around San Andreas.
  • Ability to fuel from certain vehicles (i.e. a fuel truck).
  • Ability to blacklist classes and individual vehicles.
  • Fully unlocked bridge to adapt your own integrations
  • In-game commands to setup charger, pump, and tank locations with an interactive gizmo for placement.
  • Full localization system with support for English & Spanish.
  • Custom vehicle fuel display UI.
  • Custom refueling UI.
  • Two vehicle fuel display styles (Modern & Classic)
  • Ability to disable exploding pumps.
  • In-game settings menu to allow your players to pick and choose the features they want
  • Custom made sound effects.
  • Ability to refuel other players vehicles.
  • Utilizing new standards meaning that vehicle fuel level is saved individually per vehicle & doesn’t change when the player leaves or another player enters the vehicle.
  • Supports Roxwood, Gabz & other third party fuel pumps/stations.
  • Ability to customize which fuel pumps have the fuel types.
  • Fuel hoses w/ ability to change the hose style.

Showcase

Gallary

Images

(Ropes are buggy in rockstar editor, they look much better ingame lol)









Dependencies

  • ox_lib

  • ox_target

  • Make sure your server artifacts version is 9000 or above. Downloaded the Windows or Linux artifacts.

  • Make sure your game build is set to 2802 or higher. See how to set your gamebuild here.

  • Make sure your server is running OneSync (Formally Onesync Infinity) and not legacy. See how to enable onesync here.

Documentation

Tebex $20.00 USD

Test Server

Code is accessible No (bridge, data, config & locales are open)
Subscription-based No
Lines (approximately) ~2500
Requirements ox_lib, ox_target
Support Yes
5 Likes

I have been using TAM_Fuel for a few weeks now and I love it🩷🩷 10/10 Resource!

2 Likes

Mint script.

1 Like

fully expected tbh

1 Like

Can you determine the tank volume of vehicles or does every vehicle from Faggio to Pounder have 100 liters?

1 Like

Currently every vehicle has the same global fuel capacity, i can look into doing this for an update. Btw its not setup in liters or gallons, its just whatever the GTA unit is. Currently setup as percentage

1 Like

Can the script be tested somewhere? Also, I would recommend, if you’re working on a fuel system, as one user mentioned, that a Faggio shouldn’t have 100 liters of fuel, like a Pounder.
And, of course, when the fuel is almost empty, the car shouldn’t just go in reverse like in most fuel systems, which is totally ridiculous, as if people have never driven a car and don’t know what happens when a vehicle runs out of fuel.

1 Like

It’ll be available on our test server located at test.threeamigos.shop later today.

I’ll look into having different fuel capacities per vehicle for the next update too.

Unfortunately, that fuel logic is how GTA V is, thats not the fuel resources doing that, i’ve implemented a small fix where the car just doesn’t turn on if its below a certain percentage of fuel.

1 Like

yeah exact when the fuel is empty just cut off the engine and thats it simple :smiley: pls reply when test server is up so i can test it out thx

2 Likes

Its up now, also will be posting the the showcase video(s) today too

1 Like

simple showcase video added!

I don’t see an export for this in the docs - I assume there is one for easily replacing things like LegacyFuel?

Doesn’t use exports, uses statebags to set or get vehicle fuel levels. You can also use the built in natives - GetVehicleFuelLevel - FiveM Natives @ Cfx.re Docs & SetVehicleFuelLevel - FiveM Natives @ Cfx.re Docs

2 Likes

Ah Easy. One other suggestion is to add Emergency Service discounts for police/ems etc.

Good idea! Will be added into an update later down the road

1 Like

or let them use card f.e. had that also on legacyfuel years ago. when police/ambulane or mechanic free gas

what do you mean

Sorry reading it back is not clear at all…
WHen you are police/ambulance then whn you refuel it will ask if you wanna use your tankcard. That way is won’t cost them there own money for refueling. only job restricted.

Ahh i see. I can definitely look into implementing that.

TAM_Fuel v1.0.1

Features:

  • Added ability to customize fuel bar colors.

Bug Fixes

  • Fuel settings menu bugging certain features for random players.
  • QBox functions not loading on resource start.
  • Fixed a rare bug where players weren’t charged when buying fuel.
  • Fixed & added missing ESX functions to the bridge.
  • Fixed a bug where the audio would cut out randomly bugging the animation on the player.
  • Adjusted fuel rates to be more realistic.

Chore

  • Update EN & ES locales.
  • Up fxmanifest version.

Download the latest update from keymaster!