Skip to main content

Documentation Index

Fetch the complete documentation index at: https://axeldevelopment.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

⛽ Axel Fuel System - Advanced Refueling & EV Charging

Config = {}
Locales = {} 
Config.Locale = 'en' -- en, bg

-- ====================================================================================
--                      FRAMEWORK & TARGET SETTINGS
-- ====================================================================================
Config.Framework = 'esx'      -- Options: 'esx', 'qb', 'qbox'
Config.Target = 'ox_target'   -- Options: 'none', 'ox_target', 'qb-target'

-- DON'T TOUCH
Config.NozzleBone = 60309
---------------------------------------------------

-- --- MAIN SETTINGS ---
Config.RopeLength = 10.0            -- Maximum distance for the hose/nozzle (in meters)
Config.RefuelTime = 300             -- Time in milliseconds per liter refueled

Config.FuelUsageSpeed = 2.5        -- Base fuel consumption rate
Config.RpmImpact = 3.5              -- Impact of high RPM on fuel consumption

Config.ElectricPriceMultiplier = 0.5 -- Fallback price multiplier for Electric Vehicles (used if no custom price is set)

-- Fuel consumption multipliers by vehicle class (GTA V Class IDs)
Config.Classes = {
    [0] = 0.5, [1] = 0.8, [2] = 1.0, [3] = 0.8, [4] = 1.2,
    [5] = 0.8, [6] = 0.8, [7] = 1.5, [8] = 0.4, [9] = 1.4,
    [10] = 2.0, [11] = 1.2, [12] = 1.2, [13] = 0.0, [14] = 1.0,
    [15] = 3.5, [16] = 3.5, [17] = 1.0, [18] = 1.5, [19] = 2.0,
    [20] = 2.0, [21] = 0.0
}

Config.Defaults = {
    FuelPrice = 50.0,        -- No Station Owner gas price
    ElectricPrice = 25.0,    -- No Station Owner electry price
    Stock = 999999,          -- Unlimited gas
    ElectricStock = 999999   -- Unlimited electry
}

Config.PumpModels = {
    `prop_gas_pump_1a`, `prop_gas_pump_1b`, `prop_gas_pump_1c`, `prop_gas_pump_1d`,
    `prop_gas_pump_old2`, `prop_gas_pump_old3`, `prop_vintage_pump`
}

Config.ElectricVehicles = {
    ['voltic'] = true, 
    ['voltic2'] = true, 
    ['neon'] = true, 
    ['raiden'] = true, 
    ['cyclone'] = true, 
    ['cyclone2'] = true,
    ['tezeract'] = true, 
    ['surge'] = true,
    ['dilettante'] = true, 
    ['khamelion'] = true,
    ['imorgon'] = true,
    ['iwagen'] = true,
    ['omnisegt'] = true,
    ['virtue'] = true,
    ['powersurge'] = true, 
    ['caddy'] = true,
    ['caddy2'] = true,
    ['caddy3'] = true,
    ['airtug'] = true,
    ['iwagenpol'] = true,    
    ['rcbandito'] = true  
}

Config.Blacklist = {
    ['bmx'] = true,
    ['cruiser'] = true,
    ['fixter'] = true,
    ['scorcher'] = true,
    ['tribike'] = true,
    ['tribike2'] = true,
    ['tribike3'] = true
}

function _U(str, ...)
    if Locales and Locales[Config.Locale] and Locales[Config.Locale][str] then
        return string.format(Locales[Config.Locale][str], ...)
    else
        return 'Translation [' .. Config.Locale .. '][' .. str .. '] missing'
    end
end