⛽ KCD Fuel System
A simple, lightweight and beginner-friendly fuel system for FiveM ESX servers. Perfect for roleplay servers that want a realistic fuel mechanic without unnecessary complexity.
✨ Features
- Fuel consumption for every vehicle
- RPM-based fuel usage
- Vehicle class multipliers
- Fully configurable fuel price per liter
- Refuel at any configured gas station
- Unlimited custom gas stations via config
- Configurable station radius
- Automatic gas station blips
- Vehicle must be parked next to a fuel pump
- Press E to start refueling
- Press X to cancel refueling
- Only pay for the fuel you actually filled
- Low fuel warning below 10%
- Engine stuttering on low fuel
- Warning sound while driving with low fuel
- Complete engine shutdown when fuel reaches 0%
- Portable fuel can support
- Buy fuel cans at gas stations
- Use a fuel can by holding it and pressing E near a vehicle
- Fuel can price fully configurable
- Configurable fuel amount added by fuel cans
- Blue KCD progress bar
- Automatic inventory detection
- Compatible with:
- ox_inventory
- ESX Inventory
- qs-inventory
- codem-inventory
- Easy configuration
- Clean and optimized code
- Escrow friendly
- Beginner friendly
⚙️ Configuration
Everything can be configured inside the config file.
- Fuel consumption
- Fuel price
- Fuel can price
- Fuel can refill amount
- Gas station locations
- Station radius
- Vehicle detection distance
- Pump interaction distance
- Low fuel threshold
- Warning sounds
- Blips
- Notifications
- Texts
📦 Dependencies
- ESX Legacy
- ox_lib (recommended)
- Supports multiple inventory systems
💙 Why KCD?
The goal of KevCodeDesign scripts is to provide clean, easy-to-understand resources that are perfect for beginners and small communities. Every script is built with simplicity, readability and performance in mind while remaining easy to configure and expand.
If you encounter any issues or have suggestions for future updates, feel free to join our Discord community.