Integrations
This section is dedicated to integrations within the script. Here you’ll find connections, adapters, or bridge files that allow the system to interact seamlessly with other Quasar resources or third-party scripts. These integrations ensure better compatibility, data synchronization, and a smoother experience across your server’s ecosystem.
Notification Position
Config.TextPosition = "top-center"Type:
stringDefault:
"top-center"Options:
"top-center""top-right""top-left""bottom-center""bottom-right""bottom-left"
Radial Menu Keybind
-- Default keybind for opening the mechanic radial menu.
-- Note: If the script is already running, you must change the keybind in your FiveM settings.
-- Editing this value only affects new players or servers starting the script for the first time.
Config.RadialKey = "F5"Type:
stringDefault:
"F5"Description: Key to open the mechanic radial menu (quick actions)
Options: Any FiveM keybind string (
"F5","F6","F7", etc.)
Rear-Engine Vehicles
Config.BackEngines = {
[GetHashKey('adder')] = true,
[GetHashKey('zentorno')] = true,
-- ... more vehicles
}Type:
tableDescription: Vehicles with rear-mounted engines for proper carlift positioning
Format:
[GetHashKey('vehicle_model')] = true
Included Vehicles (default):
ninef, adder, vagner, t20, infernus, zentorno, reaper
comet2, jester, jester2, cheetah, cheetah2, prototipo
turismor, pfister811, ardent, nero, nero2, tempesta
vacca, bullet, osiris, entityxf, turismo2, fmj
re7b, tyrus, italigtb, penetrator, monroe
ninef2, stingergt, surfer, surfer2, comet3
To Add More:
Config.BackEngines = {
-- Existing vehicles...
[GetHashKey('your_car_model')] = true,
}Modification Pricing
All modification prices are calculated as a percentage of the vehicle's value.
Formula
Modification Price = Vehicle Price × PercentageExample:
Vehicle Price: $100,000
Engine Upgrade Level 1: 0.10 (10%)
Cost: $100,000 × 0.10 = $10,000
Default Vehicle Price
Config.DefaultVehiclePrice = 50000Type:
numberDefault:
50000Description: Fallback price when vehicle value cannot be determined
Performance Upgrades (Tuning)
Config.ModificationPricing.tuning = {
[11] = {0.05, 0.10, 0.15, 0.25}, -- Engine (4 levels)
[12] = {0.03, 0.06, 0.09, 0.12}, -- Brakes (4 levels)
[13] = {0.04, 0.08, 0.12}, -- Transmission (3 levels)
[15] = {0.035, 0.07, 0.105, 0.14, 0.175}, -- Suspension (5 levels)
[16] = {0.025, 0.05, 0.075, 0.10, 0.125, 0.15}, -- Armor (6 levels)
[18] = 0.20 -- Turbo (single upgrade)
}11
Engine
4
5%, 10%, 15%, 25%
12
Brakes
4
3%, 6%, 9%, 12%
13
Transmission
3
4%, 8%, 12%
15
Suspension
5
3.5%, 7%, 10.5%, 14%, 17.5%
16
Armor
6
2.5%, 5%, 7.5%, 10%, 12.5%, 15%
18
Turbo
1
20%
Cosmetic Modifications
Config.ModificationPricing.cosmetic = {
-- Body Parts
[0] = 0.015, -- Spoiler (1.5%)
[1] = 0.02, -- Front Bumper (2%)
[2] = 0.02, -- Rear Bumper (2%)
[3] = 0.01, -- Side Skirt (1%)
[4] = 0.015, -- Exhaust (1.5%)
[5] = 0.01, -- Roll Cage (1%)
[6] = 0.015, -- Grille (1.5%)
[7] = 0.015, -- Hood (1.5%)
[8] = 0.01, -- Fender (1%)
[9] = 0.01, -- Right Fender (1%)
[10] = 0.01, -- Roof (1%)
[14] = 0.01, -- Horn (1%)
-- Lights & Wheels
[22] = 0.03, -- Xenon Headlights (3%)
[23] = 0.015, -- Front Wheels (1.5%)
[24] = 0.015, -- Back Wheels (1.5%)
-- Paint & Visual
[48] = 0.02, -- Livery (2%)
['windowTint'] = 0.02, -- Window Tint (2%)
['plateIndex'] = 0.005, -- License Plate (0.5%)
['wheelType'] = 0.015, -- Wheel Type (1.5%)
['xenonColor'] = 0.01, -- Xenon Color (1%)
['neonLights'] = 0.05, -- Neon Lights (5%)
['neonColor'] = 0.01, -- Neon Color (1%)
['tyreSmokeColor'] = 0.015, -- Tire Smoke (1.5%)
['pearlescentColor'] = 0.01, -- Pearlescent (1%)
['wheelColor'] = 0.01, -- Wheel Color (1%)
['interiorColor'] = 0.015, -- Interior Color (1.5%)
['dashboardColor'] = 0.015, -- Dashboard Color (1.5%)
['primaryColor'] = 0.02, -- Primary Paint (2%)
['secondaryColor'] = 0.02 -- Secondary Paint (2%)
}Repair Services
Config.ModificationPricing.repair = {
['fullRepair'] = 0.10, -- Full Repair (10%)
['engineRepair'] = 0.05, -- Engine Repair (5%)
['bodyRepair'] = 0.03, -- Body Repair (3%)
['tireRepair'] = 0.01 -- Tire Repair (1%)
}Adjusting Prices
To make modifications cheaper (50% discount):
[11] = {0.025, 0.05, 0.075, 0.125}, -- Engine prices cut in halfTo make modifications more expensive (double prices):
[11] = {0.10, 0.20, 0.30, 0.50}, -- Engine prices doubled