📜CONFIGURATION FILE

You can check out default QBCore ad ESX config.

Config = {
    --------------------------------------------------
    -- FRAMEWORK CONFIGURATION
    --------------------------------------------------
    Framework = 'qb-core',                            -- Supported frameworks: 'qb-core' or 'esx'
    FrameworkResource = 'qb-core',                    -- Resource name of framework ( by default it's 'qb-core' for QBCore framework, 'es_extended' for esx framework)
    NewFrameworkVersion = true,                       -- ESX ONLY: Set false for versions <1.8
    SharedObject = 'es_extended:getSharedObject',     -- ESX ONLY: Event name for shared object

    --------------------------------------------------
    -- TARGET SYSTEM CONFIGURATION
    --------------------------------------------------
    UseQbTarget = GetResourceState('qb-target') == 'started',
    UseOxTarget = GetResourceState('ox_target') == 'started',

    --------------------------------------------------
    -- MECHANIC POINTS SYSTEM
    --------------------------------------------------
    Points = {
        Job = {
            PointsPerMinute = 10,                     -- Points added per minute
            MaxPoints = 100                           -- Point limit
        },
        NoJob = {
            PointsPerMinute = 1,                      -- Points added per minute
            MaxPoints = 10                            -- Point limit
        }
    },
    
    PointsRequired = {                                -- Skill point requirements for parts
        ['engine'] = {
            [0] = {label = 'Lower Engine', points = 20},
            [1] = {label = 'Drill in Engine', points = 10, repairLabel = 'Repair Engine', repairPoints = 5}
        },
        ['transmission'] = {
            [0] = {label = 'Install Transmission', points = 20, repairLabel = 'Repair Transmission', repairPoints = 10}
        },
        ['tires'] = {
            [0] = {label = 'Install front left Tire', points = 5, repairLabel = 'Repair front left Tire', repairPoints = 2},
            [1] = {label = 'Install front right Tire', points = 5, repairLabel = 'Repair front right Tire', repairPoints = 2},
            [2] = {label = 'Install rear left Tire', points = 5, repairLabel = 'Repair rear left Tire', repairPoints = 2},
            [3] = {label = 'Install rear right Tire', points = 5, repairLabel = 'Repair rear right Tire', repairPoints = 2}
        },
        ['brakes'] = {
            [0] = {label = 'Install front left Brake', points = 5, repairLabel = 'Repair front left Brake', repairPoints = 2},
            [1] = {label = 'Install front right Brake', points = 5, repairLabel = 'Repair front right Brake', repairPoints = 2},
            [2] = {label = 'Install rear left Brake', points = 5, repairLabel = 'Repair rear left Brake', repairPoints = 2},
            [3] = {label = 'Install rear right Brake', points = 5, repairLabel = 'Repair rear right Brake', repairPoints = 2}
        },
        ['suspension'] = {
            [0] = {label = 'Install front left Coil', points = 5, repairLabel = 'Repair front left Coil', repairPoints = 2},
            [1] = {label = 'Install front right Coil', points = 5, repairLabel = 'Repair front right Coil', repairPoints = 2},
            [2] = {label = 'Install rear left Coil', points = 5, repairLabel = 'Repair rear left Coil', repairPoints = 2},
            [3] = {label = 'Install rear right Coil', points = 5, repairLabel = 'Repair rear right Coil', repairPoints = 2}
        },
        ['oil'] = {
            [0] = {label = 'Pour in new Oil', points = 5}
        },
        ['sparkplugs'] = {
            [0] = {label = 'Install new Sparkplugs', points = 5, repairLabel = 'Repair Sparkplugs', repairPoints = 2}
        },
        ['nitro'] = {
            [0] = {label = 'Install Nitro', points = 10, repairLabel = 'Repair Nitro', repairPoints = 5}
        },
        ['turbo'] = {
            [0] = {label = 'Install Turbo', points = 10, repairLabel = 'Repair Turbo', repairPoints = 5}
        }
    },

    --------------------------------------------------
    -- VEHICLE CUSTOMIZATION PRICES
    --------------------------------------------------

    ColorsPrice = nil,  -- Global color price override
    -- If left nil, the price will be the one in the color table at the end of the config

    CosmeticPrice = {
        ['exhaust'] = 350,
        ['hood'] = 750,
        ['spoiler'] = 500,
        ['bumperfront'] = 800,
        ['bumperrear'] = 650,
        ['sideskirt'] = 400,
        ['grill'] = 300,
        ['primarycolors'] = 600,
        ['secondarycolors'] = 600,
        ['pearlescentcolors'] = 700,
        ['wheelcolors'] = 550,
        ['plate'] = 1000, 
        ['dashboardcolors'] = 500,
        ['trimcolors'] = 450,
        ['seats'] = 900,
        ['roof'] = 500,
        ['window'] = 250,
        ['livery'] = 750,
        ['wheels'] = 850,
        ['headlight'] = 400
    },

    --------------------------------------------------
    -- QUICK ACTION CONFIGURATION
    --------------------------------------------------
    QuickButtons = {
        ['bodyfix'] = {label = 'Fix body', price = 1500},
        ['washcar'] = {label = 'Wash car', price = 30},
        ['fuelcar'] = {label = 'Fuel car', price = 50},
        ['patchengine'] = {label = 'Patch Engine', price = 500},
        ['scrapcar'] = {label = 'Scrap car'},
        ['buycosmetics'] = {label = 'Buy cosmetics'}
    },

    --------------------------------------------------
    -- JOB & ECONOMY SETTINGS
    --------------------------------------------------
    WhitelistedJobs = {'mechanic', 'bennys', 'lscustom'},
    UseItemsForMechanicAccess = false,                       -- If set to true it will use items when you have the whitelisted, otherwise it will use money of the player or of the job account
    UseJobAccount = false,                                   -- If set to true it will use job account for payments (Player with whitelisted job) otherwise it will deduct from player if UseItemsForMechanicAccess is set to false
    UseItemsForInstallation = false,                        -- If set to true it will use items for installation otherwise it will use money. Item name should be the same as part name
    ItemUseToRepairPart = 'metalscrap',                     -- Items use to repair part, amount required is different for each part (repair property)
    

    --------------------------------------------------
    -- VEHICLE SCRAP SYSTEM
    -- Change how much scrap you get from scrapping a vehicle from specific category
    -- Categories: https://wiki.rage.mp/wiki/Vehicle_Classes
    --------------------------------------------------
    ScrapAmount = {
        [0] = 100, [1] = 150, [2] = 200, [3] = 250, [4] = 300,
        [5] = 350, [6] = 400, [7] = 450, [8] = 500, [9] = 550,
        [10] = 600, [11] = 650, [12] = 700, [13] = 750, [14] = 800,
        [15] = 850, [16] = 900, [17] = 950, [18] = 1000, [19] = 1050,
        [20] = 1100, [21] = 1150
    },

    --------------------------------------------------
    -- WORKSHOP PHYSICAL SETTINGS
    -- Spawn dynamic movable lifts to raise cars
    -- Used for transmission installation for now only
    --------------------------------------------------
    Lifts = {
        {coords = vector3(-223.0438, -1329.7588, 30.8904 - 1.02), heading = 269.6559},
        {coords = vector3(731.7582, -1088.8328, 22.1690 - 1.02), heading = 88.4414},
        {coords = vector3(1175.0504, 2640.4111, 37.7538- 1.02), heading = 0.9573},
    },

    --------------------------------------------------
    -- VEHICLE WEAR & TEAR
    --------------------------------------------------
    WearRate = 200000,          -- Higher = slower degradation of parts
    UseMiles = false,           -- Use miles unit instead of kilometers
    EngineStallChance = 0.1, -- Chance of engine stalling when driving with broken engine
    ImpactWearMultiplier = 1.5, -- Multiplier for wear based on impact force (higher = more damage)

    --------------------------------------------------
    -- UI & CONTROL SETTINGS
    --------------------------------------------------
    UIColor = '#ff2663',            -- UI main color
    SetWaitTimeBeforeLoadHud = 500, -- HUD transition delay (ms)
    ShiftUp = 'LEFTSHIFT',          -- Manual transmission controls
    ShiftDown = 'LEFTCTRL',
    NitroKey = 'LEFTSHIFT',
    InfoBottom = 1,                 -- HUD position settings
    InfoRight = 1,
    ExitVehicleWhenClosingUI = false,-- Exit vehicle when closing UI near an access point (toolbox / mechanic tools / mechanic workshop)
    OpenUIWhenEnteringVehicle = false,  -- Open UI when entering vehicle near an access point (toolbox / mechanic tools / mechanic workshop)

    --------------------------------------------------
    -- MECHANIC & CIVILIAN ACCESS LEVELS
    --------------------------------------------------

    AccessDistance = 10.0,              -- Disatane that will trigger the auto open when entering a vehicle arround a mechanic tool prop
    DetectDistance = 3.0,               -- Vehicle detection distance when using item or command
    OnlyOwnedVehicles = false,          -- Only owned vehicle can be modified if true, all vehicle can be modified if false

    -- Bare hands Access
    -- This is the basic access for all players without tools
    BarehandAccess = {['oil'] = true},  -- when target option use on vehicle

    -- Toolbox Access
    -- This is the basic access for all players
    ToolBoxProp = 'prop_tool_box_04',
    ToolBoxItemName = 'toolbox',
    ToolBoxAccess = {
        ['oil'] = true,
        ['nitro'] = true,
        ['tires'] = true,
        ['sparkplugs'] = true,

        -- Services
        ['patchengine'] = true            -- This allows the engine to be repaired for money
    },

    -- Mechanic Tools Access
    -- This is mechanic access with on hand tools
    MechanicToolsProp = 'prop_toolchest_01',
    MechanicToolsItemName = 'mechanic_tools',
    MechanicToolsAccess = {
        ['oil'] = true,
        ['nitro'] = true,
        ['tires'] = true,
        ['brakes'] = true,
        ['suspension'] = true,
        ['sparkplugs'] = true,
        ['engine'] = true,
        ['transmission'] = true,
        ['turbo'] = true,

        -- Services
        ['bodyfix'] = true,
        ['washcar'] = true
    },

    -- Workshop Access
    -- This is the main mechanic workshop access point
    MechanicWorkshopProp = 'prop_toolchest_02',
    MechanicWorkshopItemName = 'mechanic_workshop',
    MechanicWorkshopDefaultLocations = {
        {coords = vector3(1172.8586425781,2637.654296875,37.783325195312 - 1.02), heading = 20.0},
        {coords = vector3(734.56927490234,-1091.1984863281,22.169010162354 - 1.02), heading = 20.0},
        {coords = vector3(-226.4489440918,-1328.4149169922,30.890407562256 - 1.02), heading = 20.0}
    },
    MechanicWorkshopAccess = {
        -- Performance parts
        ['oil'] = true,
        ['nitro'] = true,
        ['tires'] = true,
        ['brakes'] = true,
        ['suspension'] = true,
        ['sparkplugs'] = true,
        ['engine'] = true,
        ['transmission'] = true,
        ['turbo'] = true,

        -- Cosmetic parts
        ['exhaust'] = true,
        ['hood'] = true,
        ['spoiler'] = true,
        ['bumperfront'] = true,
        ['bumperrear'] = true,
        ['sideskirt'] = true,
        ['grill'] = true,
        ['primarycolors'] = true,
        ['secondarycolors'] = true,
        ['pearlescentcolors'] = true,
        ['wheelcolors'] = true,
        ['dashboardcolors'] = true,
        ['trimcolors'] = true,
        ['seats'] = true,
        ['roof'] = true,
        ['window'] = true,
        ['livery'] = true,
        ['plate'] = true,
        ['wheels'] = true,
        ['headlight'] = true,

        -- Services
        ['bodyfix'] = true,
        ['washcar'] = true,
        ['fuelcar'] = true,
        ['scrapcar'] = true
    },

    --------------------------------------------------
    -- VEHICLE PARTS CONFIGURATION
    -- If you wish to install using items, you need to add these parts as items
    -- Each part has configurable performance and durability values
    -- Keep in mind that by default the values are relatively added to the vehicles base performance
    -- Each part can belong to a specific type (car (will fit car and motorcycle), plane, boat)
    --------------------------------------------------
    Nitros = {
        ['nos'] = {
            label = "NOS",
            type = 'car',
            power = 100.0,
            durability = 30.0,
            price = 500, -- Price for the NOS kit
            repair = 500 -- Scrap to repair
        },
        ['nos_extreme'] = {
            label = "NOS Extreme",
            type = 'car',
            power = 150.0,
            durability = 25.0,
            price = 2000, -- Price for the Nitro Extreme kit
            repair = 2000 -- Scrap to repair
        }

    },

    Transmissions = {
        ['stock_transmission'] = {
            label = "Automatic AWD",
            shiftingtime = 0.3,
            drivingwheels = 'AWD',
            durability = 80.0,
            manual = false,
            price = 600, -- Price for the Standard Gearbox
            repair = 500 -- Scrap to repair
        },
        ['manual_gearbox_rwd'] = {
            label = "Manual RWD",
            type = 'car',
            shiftingtime = 5.0,
            drivingwheels = 'RWD',
            durability = 50.0,
            manual = true,
            price = 1000, -- Price for Racing RWD Gearbox
            repair = 800 -- Scrap to repair
        },
        ['auto_gearbox_awd'] = {
            label = "Manual AWD",
            type = 'car',
            shiftingtime = 3.0,
            drivingwheels = 'AWD',
            durability = 50.0,
            manual = true,
            price = 1200, -- Price for Racing AWD Gearbox
            repair = 1000 -- Scrap to repair
        },
        ['auto_gearbox_rwd'] = {
            label = "Automatic RWD",
            type = 'car',
            shiftingtime = 2.5,
            drivingwheels = 'RWD',
            durability = 40.0,
            manual = false,
            price = 1500, -- Price for Drag Gearbox
            repair = 1300 -- Scrap to repair
        }
    },

    Suspensions = {
        ['stock_suspension'] = {
            label = "Standard Suspension",
            height = 0,
            traction = 0,
            durability = 80.0,
            price = 400, -- Price for Standard Suspension
            repair = 500 -- Scrap to repair
        },
        ['sport_suspension'] = {
            label = "Sport Suspension",
            type = 'car',
            height = -0.04,
            traction = 1.0,
            durability = 60.0,
            price = 800, -- Price for Sport Suspension
            repair = 700 -- Scrap to repair
        },
        ['coilover_suspension'] = {
            label = "Coilover Suspension",
            type = 'car',
            height = -0.07,
            traction = 1.5,
            durability = 50.0,
            price = 1000, -- Price for Coilover Suspension
            repair = 900 -- Scrap to repair
        },
        ['airride_suspension'] = {
            label = "Airride Suspension",
            type = 'car',
            height = 0.10,
            traction = 2.0,
            durability = 40.0,
            price = 1500, -- Price for Airride Suspension
            repair = 1200 -- Scrap to repair
        }
    },

    Oils = {
        ['stock_oil'] = {
            label = "Standard Oil",
            durability = 10.0,
            price = 150 -- Price for Standard Oil
        },
        ['synthetic_oil'] = {
            label = "Synthetic Oil",
            type = 'car',
            durability = 40.0,
            price = 500 -- Price for Synthetic Oil
        },
        ['premium_oil'] = {
            label = "Premium Oil",
            type = 'car',
            durability = 70.0,
            price = 800 -- Price for Premium Oil
        },
        ['racing_oil'] = {
            label = "Racing Oil",
            type = 'car',
            durability = 100.0,
            price = 1200 -- Price for Racing Oil
        }
    },

    Engines = {
        ['stock_engine'] = {
            label = "Stock Engine",
            power = 0.0,
            durability = 80.0,
            sound = "DEFAULT", -- Name of the sound from your external sound resource
            price = 1000, -- Price for Stock Engine
            repair = 1000 -- Scrap to repair
        },
        ['v8engine'] = {
            label = "V8 Engine",
            type = 'car',
            power = 30.0,
            durability = 70.0,
            sound = "brabus850", -- Name of the sound from your external sound resource
            price = 3000, -- Price for V8 Engine
            repair = 1200 -- Scrap to repair
        },
        ['2jzengine'] = {
            label = "2JZ Engine",
            type = 'car',
            power = 40.0,
            durability = 70.0,
            sound = "toysupmk4", -- Name of the sound from your external sound resource
            price = 3500, -- Price for 2JZ Engine
            repair = 1500 -- Scrap to repair
        },
        ['m297zonda'] = {
            label = "M297 Zonda Engine",
            type = 'car',
            power = 45.0,
            durability = 60.0,
            sound = "m297zonda", -- Name of the sound from your external sound resource
            price = 4000, -- Price for M297 Zonda Engine
            repair = 1800 -- Scrap to repair
        },
        ['m158huayra'] = {
            label = "M158 Huayra Engine",
            type = 'car',
            power = 50.0,
            durability = 50.0,
            sound = "m158huayra", -- Name of the sound from your external sound resource
            price = 4500, -- Price for M158 Huayra Engine
            repair = 2000 -- Scrap to repair
        },
        ['lambov10'] = {
            label = "Lamborghini V10 Engine",
            type = 'car',
            power = 60.0,
            durability = 50.0,
            sound = "lambov10", -- Name of the sound from your external sound resource
            price = 5000, -- Price for Lamborghini V10 Engine
            repair = 2200 -- Scrap to repair
        },
        ['k20a'] = {
            label = "Honda K20A Engine",
            type = 'car',
            power = 65.0,
            durability = 50.0,
            sound = "k20a", -- Name of the sound from your external sound resource
            price = 5500, -- Price for Honda K20A Engine
            repair = 2400 -- Scrap to repair
        },
        ['gt3flat6'] = {
            label = "Porsche GT3 Flat-6 Engine",
            type = 'car',
            power = 70.0,
            durability = 50.0,
            sound = "gt3flat6", -- Name of the sound from your external sound resource
            price = 6000, -- Price for Porsche GT3 Flat-6 Engine
            repair = 2500 -- Scrap to repair
        },
        ['gecf6'] = {
            label = "General Electric CF6 Engine",
            type = 'plane',
            power = 8.0,
            durability = 50.0,
            sound = "cf680e", -- Name of the sound from your external sound resource
            price = 20000, -- Price for Spitfire Merlin V-12 Engine
            repair = 12000 -- Scrap to repair
        }
    },

    Tires = {
        ['stock_tires'] = {
            label = "Stock Tires",
            traction = 0.0,
            lowspeedtraction = 0.0,
            durability = 80.0,
            price = 300, -- Price for Stock Tires
            repair = 500 -- Scrap to repair
        },
        ['michelin_pilot'] = {
            label = "Michelin Pilot SS",
            type = 'car',
            traction = 2.0,
            lowspeedtraction = -1.0,
            durability = 50.0,
            price = 800, -- Price for Michelin Pilot SS
            repair = 700 -- Scrap to repair
        },
        ['toyo_proxes'] = {
            label = "Toyo Proxes",
            type = 'car',
            traction = 3.0,
            lowspeedtraction = -0.5,
            durability = 50.0,
            price = 1000, -- Price for Toyo Proxes
            repair = 900 -- Scrap to repair
        },
        ['drift_tires'] = {
            label = "Drift Tires",
            type = 'car',
            traction = 0.0,
            lowspeedtraction = 0.8,
            drift = true,
            durability = 50.0,
            price = 1200, -- Price for Drift Tires
            repair = 1200 -- Scrap to repair
        }
    },

    Turbos = { -- Turbos affect your car speed at higher rpm's. When turbos break you lose power
        ['turbo_lvl_1'] = {
            label = "Garet Turbo",
            type = 'car',
            power = 10.0,
            durability = 50.0,
            price = 1200, -- Price for Turbo
            repair = 1200 -- Scrap to repair
        },
        ['turbo_lvl_2'] = {
            label = "HKS Turbo",
            type = 'car',
            power = 25.0,
            durability = 50.0,
            price = 2200, -- Price for Turbo
            repair = 2000 -- Scrap to repair
        }
    },

    Brakes = {
        ['stock_brakes'] = {
            label = "Standard Brakes",
            power = 0.0,
            durability = 30.0,
            price = 500, -- Price for Standard Brakes
            repair = 500 -- Scrap to repair
        },
        ['race_brakes'] = {
            label = "Race Brakes",
            type = 'car',
            power = 3.0,
            durability = 30.0,
            price = 1200, -- Price for Race Brakes
            repair = 800 -- Scrap to repair
        },
        ['carbon_brakes'] = {
            label = "Carbon Brakes",
            type = 'car',
            power = 5.0,
            durability = 50.0,
            price = 2000, -- Price for Carbon Brakes
            repair = 1000 -- Scrap to repair
        },
        ['ceramic_brakes'] = {
            label = "Ceramic Brakes",
            type = 'car',
            power = 6.0,
            durability = 60.0,
            price = 2500, -- Price for Ceramic Brakes
            repair = 1200 -- Scrap to repair
        }
    },

    SparkPlugs = {
        ['stock_sparkplugs'] = {
            label = "Standard Spark Plugs",
            durability = 50.0,
            startbreak = 25.0,
            minfail = 10000,
            maxfail = 50000,
            price = 200, -- Price for Standard Spark Plugs
            repair = 500 -- Scrap to repair
        },
        ['ngk_sparkplugs'] = {
            label = "NGK Spark Plugs",
            type = 'car',
            durability = 90.0,
            startbreak = 15.0,
            minfail = 20000,
            maxfail = 60000,
            price = 600, -- Price for NGK Spark Plugs
            repair = 700 -- Scrap to repair
        },
        ['iridium_sparkplugs'] = {
            label = "Iridium Spark Plugs",
            type = 'car',
            durability = 100.0,
            startbreak = 10.0,
            minfail = 30000,
            maxfail = 70000,
            price = 1000, -- Price for Iridium Spark Plugs
            repair = 900 -- Scrap to repair
        }
    },

    --------------------------------------------------
    -- LOCALIZATION STRINGS
    --------------------------------------------------
    Text = {

            -- Financial Transactions
            ['paid_part_job'] = 'Job part paid',
            ['refund_part_job'] = 'Job part refunded',
            ['can_t_refund_job_money'] = 'Job refund failed',
            ['success_added_job_money'] = 'Job funds returned',

            -- Inventory Management
            ['success_added'] = 'Part stored',
            ['success_added_repair'] = 'Repair items returned',
            ['not_enough'] = 'Missing items',
            ['not_enough_money'] = 'Insufficient funds',
            ['error_added'] = 'Inventory full',

            -- Vehicle Access
            ['vehicle_locked'] = 'Unlock vehicle',
            ['vehicle_nearby'] = 'No vehicle present',
            ['vehicle_notonlift'] = 'Not on lift',
            ['vehicle_notoncarjack'] = 'Not on jack',
            ['not_in_vehicle'] = 'Enter vehicle first',
            ['hood_closed'] = 'Open hood',
            ['vehicle_fixed'] = 'Vehicle fixed!',

            -- Part Status
            ['engine_broken'] = 'Engine destroyed',
            ['engine_failing'] = 'Engine failing',
            ['transmission_slipping'] = 'Transmission slip',
            ['turbo_broken'] = 'Turbo damaged',
            ['nitro_empty'] = 'Nitro empty',
            ['oil_empty'] = 'Oil empty',
            ['oil_low'] = 'Low oil',
            ['sparkplugs_broken'] = 'Spark plugs broken',
            ['sparkplugs_failing'] = 'Spark plugs failing',

            -- Actions & UI
            ['open_close_bonnet'] = 'Toggle hood',
            ['open_close_trunk'] = 'Toggle trunk',
            ['bear_hand_fix'] = 'Basic repair',
            ['open_mech_menu'] = 'Mechanic menu',
            ['remove_access_point'] = 'Clear work area',
            ['pick_up_part'] = 'Take component',
            ['install_part'] = 'Attach part',
            ['drill_engine'] = 'Modify engine',
            ['lower_engine'] = 'Lower engine',
            ['oil_change'] = 'Replace oil',
            ['spark_plug_change'] = 'Swap plugs',

            -- Installation Requirements
            ['no_vehicle_tires'] = 'No tire vehicle',
            ['no_vehicle_engine'] = 'No engine vehicle',
            ['no_vehicle_transmission'] = 'No transmission vehicle',
            ['no_vehicle_sparkplugs'] = 'No spark plug vehicle',
            ['no_vehicle_turbo'] = 'No turbo vehicle',
            ['no_vehicle_nitro'] = 'No nitro vehicle',
            ['no_vehicle_oil'] = 'No oil vehicle',
            ['vehicle_not_on_lift'] = 'Raise vehicle first',

            -- Installation Steps
            ['open_hood_lower_engine'] = 'Open hood to proceed',
            ['open_hood_install_turbo'] = 'Open hood for turbo',
            ['open_hood_install_nitro'] = 'Open hood for nitro',
            ['open_hood_install_oil'] = 'Open hood for oil',
            ['open_hood_install_spark'] = 'Open hood for plugs',
            ['lower_engine_before_drill'] = 'Lower engine first',

            -- Installation Feedback
            ['transmission_change'] = 'Transmission swap',
            ['transmission_change_complete'] = 'Transmission installed',
            ['turbo_change_complete'] = 'Turbo installed',
            ['nitro_change_complete'] = 'Nitro installed',
            ['oil_change_complete'] = 'Oil replaced',
            ['spark_plug_change_complete'] = 'Plugs changed',
            ['engine_install_complete'] = 'Installation complete',

            -- Errors & Warnings
            ['wrong_job'] = 'Unauthorized',
            ['cannot_scrap_owned_vehicle'] = 'Owned vehicle protected',
            ['turbo_already_installed'] = 'Turbo present',
            ['nitro_already_installed'] = 'Nitro present',
            ['oil_already_installed'] = 'Oil recent',
            ['sparkplugs_already_installed'] = 'Plugs recent',
            ['plate_exists'] = 'Plate already exists',
            ['error_no_point'] = 'No access point',
            ['error_already_carrying'] = 'Hands full',
            ['error_not_carrying_part'] = 'No part held',
            ['part_need_installation'] = 'Requires installation',
            ['part_already_installed'] = 'Already installed',
            ['no_part_install_here'] = 'No part here',
            ['too_far_from_point'] = 'Out of range',

            -- Vehicle Components
            ['install_turbo'] = 'Install turbo',
            ['install_nitro'] = 'Install nitro',
            ['exhaust'] = 'Exhaust',
            ['hood'] = 'Hood',
            ['spoiler'] = 'Spoiler',
            ['bumperfront'] = 'Front bumper',
            ['bumperrear'] = 'Rear bumper',
            ['sideskirt'] = 'Side skirt',
            ['grill'] = 'Grill',
            ['plate'] = 'Vanity Plate',
            ['primarycolors'] = 'Primary',
            ['secondarycolors'] = 'Secondary',
            ['pearlescentcolors'] = 'Pearlescent',
            ['wheelcolors'] = 'Wheels',
            ['dashboardcolors'] = 'Dashboard',
            ['trimcolors'] = 'Trim',
            ['seats'] = 'Seats',
            ['roof'] = 'Roof',
            ['window'] = 'Windows',
            ['livery'] = 'Livery',
            ['wheels'] = 'Wheels',
            ['headlight'] = 'Headlights',
            ['oil'] = 'Oil',
            ['tires'] = 'Tires',
            ['brakes'] = 'Brakes',
            ['suspension'] = 'Suspension',
            ['engine'] = 'Engine',
            ['transmission'] = 'Transmission',
            ['sparkplugs'] = 'Spark plugs',
            ['turbo'] = 'Turbo',
            ['nitro'] = 'Nitro'

    },

    Colors = {
        {
            id = 0,
            label = 'Metallic Black',
            price = 600,
            hex = '#0d1116'
        },
        {
            id = 1,
            label = 'Metallic Graphite Black',
            price = 600,
            hex = '#1c1d21'
        }, {
            id = 2,
            label = 'Metallic Black Steal',
            price = 600,
            hex = '#32383d'
        }, {
            id = 3,
            label = 'Metallic Dark Silver',
            price = 600,
            hex = '#454b4f'
        }, {
            id = 4,
            label = 'Metallic Silver',
            price = 600,
            hex = '#999da0'
        }, {
            id = 5,
            label = 'Metallic Blue Silver',
            price = 600,
            hex = '#c2c4c6'
        }, {
            id = 6,
            label = 'Metallic Steel Gray',
            price = 600,
            hex = '#979a97'
        }, {
            id = 7,
            label = 'Metallic Shadow Silver',
            price = 600,
            hex = '#637380'
        }, {
            id = 8,
            label = 'Metallic Stone Silver',
            price = 600,
            hex = '#63625c'
        }, {
            id = 9,
            label = 'Metallic Midnight Silver',
            price = 600,
            hex = '#3c3f47'
        }, {
            id = 10,
            label = 'Metallic Gun Metal',
            price = 600,
            hex = '#444e54'
        }, {
            id = 11,
            label = 'Metallic Anthracite Grey',
            price = 600,
            hex = '#1d2129'
        }, {
            id = 12,
            label = 'Matte Black',
            price = 500,
            hex = '#13181f'
        }, {
            id = 13,
            label = 'Matte Gray',
            price = 500,
            hex = '#26282a'
        }, {
            id = 14,
            label = 'Matte Light Grey',
            price = 500,
            hex = '#515554'
        }, {
            id = 15,
            label = 'Util Black',
            price = 400,
            hex = '#151921'
        }, {
            id = 16,
            label = 'Util Black Poly',
            price = 400,
            hex = '#1e2429'
        }, {
            id = 17,
            label = 'Util Dark silver',
            price = 400,
            hex = '#333a3c'
        }, {
            id = 18,
            label = 'Util Silver',
            price = 400,
            hex = '#8c9095'
        }, {
            id = 19,
            label = 'Util Gun Metal',
            price = 400,
            hex = '#39434d'
        }, {
            id = 20,
            label = 'Util Shadow Silver',
            price = 400,
            hex = '#506272'
        }, {
            id = 21,
            label = 'Worn Black',
            price = 300,
            hex = '#1e232f'
        }, {
            id = 22,
            label = 'Worn Graphite',
            price = 300,
            hex = '#363a3f'
        }, {
            id = 23,
            label = 'Worn Silver Grey',
            price = 300,
            hex = '#a0a199'
        }, {
            id = 24,
            label = 'Worn Silver',
            price = 300,
            hex = '#d3d3d3'
        }, {
            id = 25,
            label = 'Worn Blue Silver',
            price = 300,
            hex = '#b7bfca'
        }, {
            id = 26,
            label = 'Worn Shadow Silver',
            price = 300,
            hex = '#778794'
        }, {
            id = 27,
            label = 'Metallic Red',
            price = 600,
            hex = '#c00e1a'
        }, {
            id = 28,
            label = 'Metallic Torino Red',
            price = 600,
            hex = '#da1918'
        }, {
            id = 29,
            label = 'Metallic Formula Red',
            price = 600,
            hex = '#b6111b'
        }, {
            id = 30,
            label = 'Metallic Blaze Red',
            price = 600,
            hex = '#a51e23'
        }, {
            id = 31,
            label = 'Metallic Graceful Red',
            price = 600,
            hex = '#7b1a22'
        }, {
            id = 32,
            label = 'Metallic Garnet Red',
            price = 600,
            hex = '#8e1b1f'
        }, {
            id = 33,
            label = 'Metallic Desert Red',
            price = 600,
            hex = '#6f1818'
        }, {
            id = 34,
            label = 'Metallic Cabernet Red',
            price = 600,
            hex = '#49111d'
        }, {
            id = 35,
            label = 'Metallic Candy Red',
            price = 600,
            hex = '#b60f25'
        }, {
            id = 36,
            label = 'Metallic Sunrise Orange',
            price = 600,
            hex = '#d44a17'
        }, {
            id = 37,
            label = 'Metallic Classic Gold',
            price = 600,
            hex = '#c2944f'
        }, {
            id = 38,
            label = 'Metallic Orange',
            price = 600,
            hex = '#f78616'
        }, {
            id = 39,
            label = 'Matte Red',
            price = 500,
            hex = '#cf1f21'
        }, {
            id = 40,
            label = 'Matte Dark Red',
            price = 500,
            hex = '#732021'
        }, {
            id = 41,
            label = 'Matte Orange',
            price = 500,
            hex = '#f27d20'
        }, {
            id = 42,
            label = 'Matte Yellow',
            price = 500,
            hex = '#ffc91f'
        }, {
            id = 43,
            label = 'Util Red',
            price = 400,
            hex = '#9c1016'
        }, {
            id = 44,
            label = 'Util Bright Red',
            price = 400,
            hex = '#de0f18'
        }, {
            id = 45,
            label = 'Util Garnet Red',
            price = 400,
            hex = '#8f1e17'
        }, {
            id = 46,
            label = 'Worn Red',
            price = 300,
            hex = '#a94744'
        }, {
            id = 47,
            label = 'Worn Golden Red',
            price = 300,
            hex = '#b16c51'
        }, {
            id = 48,
            label = 'Worn Dark Red',
            price = 300,
            hex = '#371c25'
        }, {
            id = 49,
            label = 'Metallic Dark Green',
            price = 600,
            hex = '#132428'
        }, {
            id = 50,
            label = 'Metallic Racing Green',
            price = 600,
            hex = '#122e2b'
        }, {
            id = 51,
            label = 'Metallic Sea Green',
            price = 600,
            hex = '#12383c'
        }, {
            id = 52,
            label = 'Metallic Olive Green',
            price = 600,
            hex = '#31423f'
        }, {
            id = 53,
            label = 'Metallic Green',
            price = 600,
            hex = '#155c2d'
        }, {
            id = 54,
            label = 'Metallic Gasoline Blue Green',
            price = 600,
            hex = '#1b6770'
        }, {
            id = 55,
            label = 'Matte Lime Green',
            price = 500,
            hex = '#66b81f'
        }, {
            id = 56,
            label = 'Util Dark Green',
            price = 400,
            hex = '#22383e'
        }, {
            id = 57,
            label = 'Util Green',
            price = 400,
            hex = '#1d5a3f'
        }, {
            id = 58,
            label = 'Worn Dark Green',
            price = 300,
            hex = '#2d423f'
        }, {
            id = 59,
            label = 'Worn Green',
            price = 300,
            hex = '#45594b'
        }, {
            id = 60,
            label = 'Worn Sea Wash',
            price = 300,
            hex = '#65867f'
        }, {
            id = 61,
            label = 'Metallic Midnight Blue',
            price = 600,
            hex = '#222e46'
        }, {
            id = 62,
            label = 'Metallic Dark Blue',
            price = 600,
            hex = '#233155'
        }, {
            id = 63,
            label = 'Metallic Saxony Blue',
            price = 600,
            hex = '#304c7e'
        }, {
            id = 64,
            label = 'Metallic Blue',
            price = 600,
            hex = '#47578f'
        }, {
            id = 65,
            label = 'Metallic Mariner Blue',
            price = 600,
            hex = '#637ba7'
        }, {
            id = 66,
            label = 'Metallic Harbor Blue',
            price = 600,
            hex = '#394762'
        }, {
            id = 67,
            label = 'Metallic Diamond Blue',
            price = 600,
            hex = '#d6e7f1'
        }, {
            id = 68,
            label = 'Metallic Surf Blue',
            price = 600,
            hex = '#76afbe'
        }, {
            id = 69,
            label = 'Metallic Nautical Blue',
            price = 600,
            hex = '#345e72'
        }, {
            id = 70,
            label = 'Metallic Bright Blue',
            price = 600,
            hex = '#0b9cf1'
        }, {
            id = 71,
            label = 'Metallic Purple Blue',
            price = 600,
            hex = '#2f2d52'
        }, {
            id = 72,
            label = 'Metallic Spinnaker Blue',
            price = 600,
            hex = '#282c4d'
        }, {
            id = 73,
            label = 'Metallic Ultra Blue',
            price = 600,
            hex = '#2354a1'
        }, {
            id = 74,
            label = 'Metallic Bright Blue',
            price = 600,
            hex = '#6ea3c6'
        }, {
            id = 75,
            label = 'Util Dark Blue',
            price = 400,
            hex = '#112552'
        }, {
            id = 76,
            label = 'Util Midnight Blue',
            price = 400,
            hex = '#1b203e'
        }, {
            id = 77,
            label = 'Util Blue',
            price = 400,
            hex = '#275190'
        }, {
            id = 78,
            label = 'Util Sea Foam Blue',
            price = 400,
            hex = '#608592'
        }, {
            id = 79,
            label = 'Util Lightning blue',
            price = 400,
            hex = '#2446a8'
        }, {
            id = 80,
            label = 'Util Maui Blue Poly',
            price = 400,
            hex = '#4271e1'
        }, {
            id = 81,
            label = 'Util Bright Blue',
            price = 400,
            hex = '#3b39e0'
        }, {
            id = 82,
            label = 'Matte Dark Blue',
            price = 500,
            hex = '#1f2852'
        }, {
            id = 83,
            label = 'Matte Blue',
            price = 500,
            hex = '#253aa7'
        }, {
            id = 84,
            label = 'Matte Midnight Blue',
            price = 500,
            hex = '#1c3551'
        }, {
            id = 85,
            label = 'Worn Dark blue',
            price = 300,
            hex = '#4c5f81'
        }, {
            id = 86,
            label = 'Worn Blue',
            price = 300,
            hex = '#58688e'
        }, {
            id = 87,
            label = 'Worn Light blue',
            price = 300,
            hex = '#74b5d8'
        }, {
            id = 88,
            label = 'Metallic Taxi Yellow',
            price = 600,
            hex = '#ffcf20'
        }, {
            id = 89,
            label = 'Metallic Race Yellow',
            price = 600,
            hex = '#fbe212'
        }, {
            id = 90,
            label = 'Metallic Bronze',
            price = 600,
            hex = '#916532'
        }, {
            id = 91,
            label = 'Metallic Yellow Bird',
            price = 600,
            hex = '#e0e13d'
        }, {
            id = 92,
            label = 'Metallic Lime',
            price = 600,
            hex = '#98d223'
        }, {
            id = 93,
            label = 'Metallic Champagne',
            price = 600,
            hex = '#9b8c78'
        }, {
            id = 94,
            label = 'Metallic Pueblo Beige',
            price = 600,
            hex = '#503218'
        }, {
            id = 95,
            label = 'Metallic Dark Ivory',
            price = 600,
            hex = '#473f2b'
        }, {
            id = 96,
            label = 'Metallic Choco Brown',
            price = 600,
            hex = '#221b19'
        }, {
            id = 97,
            label = 'Metallic Golden Brown',
            price = 600,
            hex = '#653f23'
        }, {
            id = 98,
            label = 'Metallic Light Brown',
            price = 600,
            hex = '#775c3e'
        }, {
            id = 99,
            label = 'Metallic Straw Beige',
            price = 600,
            hex = '#ac9975'
        }, {
            id = 100,
            label = 'Metallic Moss Brown',
            price = 600,
            hex = '#6c6b4b'
        }, {
            id = 101,
            label = 'Metallic Biston Brown',
            price = 600,
            hex = '#402e2b'
        }, {
            id = 102,
            label = 'Metallic Beechwood',
            price = 600,
            hex = '#a4965f'
        }, {
            id = 103,
            label = 'Metallic Dark Beechwood',
            price = 600,
            hex = '#46231a'
        }, {
            id = 104,
            label = 'Metallic Choco Orange',
            price = 600,
            hex = '#752b19'
        }, {
            id = 105,
            label = 'Metallic Beach Sand',
            price = 600,
            hex = '#bfae7b'
        }, {
            id = 106,
            label = 'Metallic Sun Bleeched Sand',
            price = 600,
            hex = '#dfd5b2'
        }, {
            id = 107,
            label = 'Metallic Cream',
            price = 600,
            hex = '#f7edd5'
        }, {
            id = 108,
            label = 'Util Brown',
            price = 400,
            hex = '#3a2a1b'
        }, {
            id = 109,
            label = 'Util Medium Brown',
            price = 400,
            hex = '#785f33'
        }, {
            id = 110,
            label = 'Util Light Brown',
            price = 400,
            hex = '#b5a079'
        }, {
            id = 111,
            label = 'Metallic White',
            price = 650,
            hex = '#fffff6'
        }, {
            id = 112,
            label = 'Metallic Frost White',
            price = 650,
            hex = '#eaeaea'
        }, {
            id = 113,
            label = 'Worn Honey Beige',
            price = 300,
            hex = '#b0ab94'
        }, {
            id = 114,
            label = 'Worn Brown',
            price = 300,
            hex = '#453831'
        }, {
            id = 115,
            label = 'Worn Dark Brown',
            price = 300,
            hex = '#2a282b'
        }, {
            id = 116,
            label = 'Worn straw beige',
            price = 300,
            hex = '#726c57'
        }, {
            id = 117,
            label = 'Brushed Steel',
            price = 550,
            hex = '#6a747c'
        }, {
            id = 118,
            label = 'Brushed Black steel',
            price = 550,
            hex = '#354158'
        }, {
            id = 119,
            label = 'Brushed Aluminium',
            price = 550,
            hex = '#9ba0a8'
        }, {
            id = 120,
            label = 'Chrome',
            price = 550,
            hex = '#5870a1'
        }, {
            id = 121,
            label = 'Worn Off White',
            price = 300,
            hex = '#eae6de'
        }, {
            id = 122,
            label = 'Util Off White',
            price = 400,
            hex = '#dfddd0'
        }, {
            id = 123,
            label = 'Worn Orange',
            price = 300,
            hex = '#f2ad2e'
        }, {
            id = 124,
            label = 'Worn Light Orange',
            price = 300,
            hex = '#f9a458'
        }, {
            id = 125,
            label = 'Metallic Securicor Green',
            price = 600,
            hex = '#83c566'
        }, {
            id = 126,
            label = 'Worn Taxi Yellow',
            price = 300,
            hex = '#f1cc40'
        }, {
            id = 127,
            label = 'police car blue',
            price = 700,
            hex = '#4cc3da'
        }, {
            id = 128,
            label = 'Matte Green',
            price = 500,
            hex = '#4e6443'
        }, {
            id = 129,
            label = 'Matte Brown',
            price = 500,
            hex = '#bcac8f'
        }, {
            id = 130,
            label = 'Worn Orange',
            price = 300,
            hex = '#f8b658'
        }, {
            id = 131,
            label = 'Matte White',
            price = 650,
            hex = '#fcf9f1'
        }, {
            id = 132,
            label = 'Worn White',
            price = 300,
            hex = '#fffffb'
        }, {
            id = 133,
            label = 'Worn Olive Army Green',
            price = 300,
            hex = '#81844c'
        }, {
            id = 134,
            label = 'Pure White',
            price = 650,
            hex = '#ffffff'
        }, {
            id = 135,
            label = 'Hot Pink',
            price = 700,
            hex = '#f21f99'
        }, {
            id = 136,
            label = 'Salmon pink',
            price = 700,
            hex = '#fdd6cd'
        }, {
            id = 137,
            label = 'Metallic Vermillion Pink',
            price = 600,
            hex = '#df5891'
        }, {
            id = 138,
            label = 'Orange',
            price = 500,
            hex = '#f6ae20'
        }, {
            id = 139,
            label = 'Green',
            price = 500,
            hex = '#b0ee6e'
        }, {
            id = 140,
            label = 'Blue',
            price = 500,
            hex = '#08e9fa'
        }, {
            id = 141,
            label = 'Mettalic Black Blue',
            price = 600,
            hex = '#0a0c17'
        }, {
            id = 142,
            label = 'Metallic Black Purple',
            price = 600,
            hex = '#0c0d18'
        }, {
            id = 143,
            label = 'Metallic Black Red',
            price = 600,
            hex = '#0e0d14'
        }, {
            id = 144,
            label = 'hunter green',
            price = 300,
            hex = '#9f9e8a'
        }, {
            id = 145,
            label = 'Metallic Purple',
            price = 600,
            hex = '#621276'
        }, {
            id = 146,
            label = 'Metaillic V Dark Blue',
            price = 600,
            hex = '#0b1421'
        }, {
            id = 147,
            label = 'MODSHOP BLACK1',
            price = 600,
            hex = '#11141a'
        }, {
            id = 148,
            label = 'Matte Purple',
            price = 500,
            hex = '#6b1f7b'
        }, {
            id = 149,
            label = 'Matte Dark Purple',
            price = 500,
            hex = '#1e1d22'
        }, {
            id = 150,
            label = 'Metallic Lava Red',
            price = 600,
            hex = '#bc1917'
        }, {
            id = 151,
            label = 'Matte Forest Green',
            price = 500,
            hex = '#2d362a'
        }, {
            id = 152,
            label = 'Matte Olive Drab',
            price = 500,
            hex = '#696748'
        }, {
            id = 153,
            label = 'Matte Desert Brown',
            price = 500,
            hex = '#7a6c55'
        }, {
            id = 154,
            label = 'Matte Desert Tan',
            price = 500,
            hex = '#c3b492'
        }, {
            id = 155,
            label = 'Matte Foilage Green',
            price = 500,
            hex = '#5a6352'
        }, {
            id = 156,
            label = 'DEFAULT ALLOY COLOR',
            price = 500,
            hex = '#81827f'
        }, {
            id = 157,
            label = 'Epsilon Blue',
            price = 700,
            hex = '#afd6e4'
        }, {
            id = 158,
            label = 'Pure Gold',
            price = 650,
            hex = '#7a6440'
        }, {
            id = 159,
            label = 'Brushed Gold',
            price = 550,
            hex = '#7f6a48'
        }
    },
}

-- Notification system example
function ShowNotification(msg)

    SetNotificationTextEntry('STRING')
    AddTextComponentString(msg)
    DrawNotification(0, 1)

    -- EXAMPLE FOR CORE NOTIFY FREE SCRIPT OF OURS
    -- exports.core_notify:ShowInfo(msg)

    -- EXAMPLE USED IN VIDEO
    -- exports['mythic_notify']:SendAlert('inform', msg)

    -- EXAMPLE FOR QB NOTIFICATIONS
    -- QBCore.Functions.Notify(msg, 'primary')
end

Last updated