Skip to main content

Fuel Types

4 fuel types with configurable pricing and electric vehicle support

This section

Fuel Types

4 fuel types with separate pricing per liter/unit. Electric vehicles are detected and shown the electric charging option.

Types

TypeDefault PriceDescription
Diesel$25/literStandard diesel fuel
Economic$50/literBudget-friendly fuel
Super$100/literPremium high-performance fuel
Electric$10/unitElectric vehicle charging

Electric Vehicles

Vehicles classified as electric receive the electric charging option instead of fuel types:

lua
Config.electricVehicles = {
neon = true,
cyclone = true,
}

Per-Class Consumption Rates

Each of the 22 GTA vehicle classes has a configurable fuel consumption multiplier:

ClassNameRate
0Compacts0.05
1Sedans0.05
2SUVs0.06
3Coupes0.05
4Muscle0.07
5Sports Classics0.07
6Sports0.08
7Super0.10
8Motorcycles0.04
9Off-road0.08
10Industrial0.15
18Emergency0.08

Fuel is consumed based on engine RPM multiplied by the class rate. Engine shuts off when fuel drops below 5%.

Configuration

OptionDefaultDescription
Config.price.diesel25Price per liter for diesel
Config.price.economic50Price per liter for economic
Config.price.super100Price per liter for super
Config.price.electric10Price per unit for electric
Config.gasCanPrice50Jerry can purchase price