⛽️ [PAID][Standalone][ESX] Fuel system - Different designs | Different types of fuel | Convenient configuration file | Electric and Conventional Refueling | UI

I welcome you CFX community!

Today I present to you a fuel system divided by car type, thanks to which you will be able to diversify the gameplay on your server! I’m sure you and your players will love it!

This system includes a nice user interface for different types of car that displays fuel options for them. From the selected type of fuel, your car will go faster. You will not be able to refuel the car with diesel if it requires electricity.
For convenience, the script was divided into two resources, one for fuel cars, the other for electric ones.

Credit: Do$ :fuelpump:

Demonstration of the system:

Screenshots:




Note: This fuel system is not encrypted in any way, which will give you the opportunity to edit it at your request!

Optimization (The script consumes):

0.00 ms in a quiet state.

0.03 ms in an active state.

What features does the fuel system include:

  • This system works on all versions of ESX, as well as STANDALONE!
  • A handy configuration file so you can translate into your own language!
  • Beautiful user interface!
  • You can change the price for a different type of fuel!
  • Ability to select the required type of fuel depending on the type of car!
  • The ability to charge money for refueling/charging(Only for ESX)!
  • There are 30 preset refueling locations, and it’s also easy to add new ones!
  • You can completely change the user interface at will!
  • Fuel type improves the car!
  • Of course support, I’m ready to help you edit this fuel system !

(US$19.68 - includes tax)
You can get that resource in my Tebex.

You may also be interested in my other resources

Code accessible Yes
Subscription based No
Lines (approximately) ~1000
Requirements Standalone/ESX
Support Yes

Update 1.2.0 of all versions :fuelpump:

  • Added the ability to select the required type of fuel depending on the type of car.
    If you fill the car, ship, plane with the wrong fuel, then your engine will start to smoke and lose functionality.

Update 1.3.0 of all versions :fuelpump:

  • Added the possibility of cans with different types of fuel as an item (ESX).

Update 1.4.0 of all versions :fuelpump:

  • Fixed a bug where it was impossible to use canisters in some cases.
  • Added SQL file to quickly add items to use (ESX only).
  • Improved, now when refueling with unsuitable fuel, it will be impossible to refuel the car at 100%, your fuel level will automatically become 8%.
  • Minor bugs have been fixed.

Update 1.5.0 of all versions :fuelpump:

  • Fixed an error when sometimes nearby cars were refueled with the same fuel as the refueling car, which caused the car to break down.
  • Minor bugs have been fixed.

Update 1.6.0 of all versions :fuelpump:

  • Added a free camera.

Update 1.7.0 of all versions :fuelpump:

  • Fixed a bug where in some cases it was impossible to shoot after refueling.
  • Fixed a bug where it was possible to drive, get out of transport and use other keys that should have been locked.
  • Minor bugs have been fixed.
4 Likes

What about saving the cars fuel data?

1 Like

Amazing :star_struck:

1 Like

Fuel values are saved.
If you get in and out of the car, the fuel level will be unchanged. If you park the car in the garage, it should also be preserved.
I hope I answered the question correctly. :slightly_smiling_face:

2 Likes

will the standalone work with QB no issues?

1 Like

Everything will work fine, the only thing you will need to change the money function, if you need it :cowboy_hat_face:

1 Like

What is the difference premium, petrol and diesel

1 Like

The first difference is in price, the other is an improvement in the performance of the car engine :fuelpump:

Maybe something like add that every car use a specific type of fuel, and if u put the wrong one it will damage the engine on the way.
Cool script btw

1 Like

Great idea, I’ll release an update in a couple of hours! :wink:
Thanks for the feedback!

Update 1.2.0 of all versions :fuelpump:

  • Added the ability to select the required type of fuel depending on the type of car.
    If you fill the car, ship, plane with the wrong fuel, then your engine will start to smoke and lose functionality.

Contact me if you have any questions.

2 Likes

Is it possible to implement a working petrol can?

1 Like

It can be implemented as an item with different types of fuel for ESX. :rocket:

1 Like

Would be awesome :wink:

1 Like

Nice release

1 Like

Update 1.3.0 of all versions :fuelpump:

  • Added the possibility of cans with different types of fuel as an item (ESX).

Contact me if you have any questions.

2 Likes

Update 1.4.0 of all versions :fuelpump:

  • Fixed a bug where it was impossible to use canisters in some cases.
  • Added SQL file to quickly add items to use (ESX only).
  • Improved, now when refueling with unsuitable fuel, it will be impossible to refuel the car at 100%, your fuel level will automatically become 8%.
  • Minor bugs have been fixed.

Contact me if you have any questions.

2 Likes

Update 1.5.0 of all versions :fuelpump:

  • Fixed an error when sometimes nearby cars were refueled with the same fuel as the refueling car, which caused the car to break down.
  • Minor bugs have been fixed.

Contact me if you have any questions.

1 Like

Update 1.6.0 of all versions :fuelpump:

  • Added a free camera.

Contact me if you have any questions.

1 Like

Could you send me a new version ?

1 Like