Wrong fuel
Diesel in a gasoline car in FiveM: what Eleven Combustible does with the wrong fuel. The warning, power loss, stalls, engine damage and how it clears.
Every vehicle uses one fuel family: gasoline, diesel or kerosene. Eleven Combustible lets players put in the wrong one, but it warns them and the engine feels it.
Which fuel each vehicle uses
- Aircraft (helicopters and planes): always kerosene.
- Diesel: the classes in
Config.DieselClasses(industrial, utility, service, military and commercial) and the models inConfig.DieselModels. - Gasoline: everything else, plus the models in
Config.GasolineModelseven if they belong to a diesel class. - Electric: the ones in
Config.ElectricModelscan't be refuelled.
The warning on the screen
On the pump screen, the fuel that isn't the vehicle's is marked "Not recommended", with the warning "Not this vehicle's fuel: it will damage the engine". You can still pay for it.
What happens to the engine
When the wrong fuel goes over a share of the tank (threshold, 15 % by default), with the engine running:
- the engine loses power (
powerLoss); - every 4 seconds while driving it may stall (
stallChance), with the notice "The engine is misfiring: the tank has the wrong fuel"; - every stall damages the engine (
engineDamage).
The more wrong fuel there is, the more it stalls.
How to fix it
The mix goes away once the tank runs almost dry (below clearBelow, 3 % by default). After that, refuel with the right fuel and the engine runs fine again.
A mechanic or a script of yours can also clear it straight away with the ClearWrongFuel export (see For developers).
Options
| Option | Default | What it does |
|---|---|---|
Config.WrongFuel.enabled | true | false = the wrong fuel has no effects |
Config.WrongFuel.threshold | 0.15 | Share of the tank (0 to 1) from which the engine fails |
Config.WrongFuel.powerLoss | 0.5 | Engine power multiplier while contaminated |
Config.WrongFuel.stallChance | 0.12 | Chance of stalling on each check (every 4 s while driving) |
Config.WrongFuel.engineDamage | 15.0 | Engine health lost on each stall |
Config.WrongFuel.clearBelow | 3.0 | Below this % of the tank, the mix disappears |