m-Scripts
  • m-Scripts Documentation
  • QBCore
    • Jobs
      • 🚗[QB] TunerJob
        • 🛠️Installation
        • ❓Common Questions
        • 🗒️Config
      • 🍞[QB] BeanMachine
        • 🛠️Installation
        • 🗒️Config
      • 🍔[QB] Burgershot
        • 🛠️Installation
        • 🗒️Config
      • 🍈[QB] CoolBeans
        • 🛠️Installation
        • 🗒️Config
      • 🚚[QB] Deliveries
        • 🛠️Installation
        • 📃Config
          • 📃config_functions
      • 🍎[QB] Farming
        • 🛠️Installation
        • 🗒️Config
      • 🐟[QB] Fishing
        • 🛠️Installation
        • 🗒️Config
          • 📄config_diving
          • 📄config_fishingnet
          • 📄config_fishingrod
          • 📄config_functions
          • 📄config_language
          • 📄config_seashells
          • 📄config_tournament
          • 📄config_upgrades
      • 🚛[QB] Garbage
        • 🛠️Installation
        • 🗒️Config
      • 🗝️[QB] GoldRush
        • 🛠️Installation
        • 🗒️Config
      • ⛰️[QB] Hunting
        • 🛠️Installation
        • 🗒️Config
      • 🪵[QB] Lumberjack
        • 🛠️Installation
        • 🗒️Config
      • ⛏️[QB] Mining
        • 🛠️Installation
        • 🗒️Config
      • 🛢️[QB] Oil Factory
        • 🛠️Installation
        • ❓Common Questions
        • 🗒️Config
      • ☕[QB] Pond Coffee
        • 🛠️Installation
        • ❓Common Questions
        • 🗒️Config
      • 🚚[QB] Trucker
        • 🛠️Installation
        • 🗒️Config
          • 📄Functions
          • 📄Language
      • 🥃[QB] Vanilla
        • 🛠️Installation
        • 🗒️Config
      • 🛻[QB] Mechanic Run
        • 🛠️Installation
        • 🗒️Config
      • 🥃[QB] Bahamas
        • 🛠️Installation
        • 📄Config
      • 🔫[QB] Ammunation
        • 🛠️Installation
        • 📄Config
      • 🐟[QB] Pearls
        • 🛠️Installation
        • 📄Config
      • 🔓[QB] Impound
        • 🛠️Installation
        • 📄Config
        • ✅Garages
      • 🚘[QB] Vehicleshop
        • 🛠️Installation
        • 📄Config
          • Functions
          • Job
          • Language
        • ❓Common Questions
    • General
      • 🏕️[QB] Camping
        • 🛠️Installation
        • 🗒️Config
          • Consumables
          • Language
      • 🎄[QB] Christmas
        • 🛠️Installation
        • 🗒️Config
      • 🎃[QB] Halloween
        • 🛠️Installation
        • 🗒️Config
      • 📔[QB] Insurance
        • 🛠️Installation
        • 🖥️Compatibilities
        • 🗒️Config
        • 🔁Server-Exports
      • 🏘️[QB] Vespucci
        • 🛠️Installation
        • 🗒️Config
          • Brewery
          • Digital Den
          • Masquerade
          • Pro Bikes
      • 🏖️[QB] Beach Activities
        • 🛠️Installation
        • 🗒️Config
      • 🚘[QB] Car Rental
        • 🛠️Installation
        • 📄Config
        • 🖥️Compatibilities
      • ✈️[QB] Sky Racing
        • 🛠️Installation
        • 📄Config
      • 🚘[QB] Car Wash
        • 🛠️Installation
        • 📄Config
      • 🪨[QB] Grinder
        • 🛠️Installation
        • 📄Config
      • 📹[QB] SpyCams & CCTV's
        • 🛠️Installation
        • 📄Config
      • 🏠[QB] Motel
        • 🛠️Installation
        • 📄Config
        • 🖥️Compatibilities
      • 🏚️[QB] Job Center
        • 📄Config
      • 🛠️[QB] Crafting
        • 🛠️Installation
        • 📄Config
          • Functions
          • Language
    • Illegal
      • 🔫[QB] Gangs
        • 🛠️Installation
        • 🗒️Config
      • 🔔[QB] Drug Selling
        • 🗒️Config
      • 🌱[QB] Drugs
        • 🛠️Installation
        • 🗒️Config
      • 🍯[QB] Craft Potion
        • 🛠️Installation
        • 🗒️Config
      • 🅱️[QB] Blackmarket
        • 🛠️Installation
        • 🗒️Config
          • config_functions
          • config_language
      • 🚗[QB] Car Thief
        • 🗒️Config
      • 🏠[QB] House Robbery
        • 🛠️Installation
        • 🗒️Config
      • 💎[QB] Jewelry
        • 🛠️Installation
        • 🗒️Config
          • Functions
          • Language
      • ®️[QB] Mini Robberys
        • 🛠️Installation
        • 🗒️Config
      • 💰[QB] MoneyWash
        • 🛠️Installation
        • 🗒️Config
          • Functions
          • Language
      • 🔫[QB] Rob NPC
        • 🛠️Installation
        • 🗒️Config
      • 🏃‍♂️[QB] Runs
        • 🛠️Installation
        • 🗒️Config
          • Functions
          • Language
      • ⛽[QB] Steal Fuel
        • 🛠️Installation
        • 🗒️Config
          • Functions
          • Language
      • 🏬[QB] Store Robbery
        • 🛠️Installation
        • 🗒️Config
          • Functions
          • Language
      • 🪛[QB] Scrapyard
        • 🛠️Installation
        • 🗒️Config
          • Functions
          • Language
      • 👾[QB] Territories
        • 🛠️Installation
        • 📄Config
          • Functions
      • 🏨[QB] GoPostal
        • 🛠️Installation
        • 📄Config
          • Functions
          • Language
          • S_utils
  • ESX
    • Jobs
      • 🚗[ESX] Tunerjob
        • ❗Dependencies
        • 🛠️Installation
          • ℹ️OX-Inventory
          • ℹ️QS-Inventory
        • 🗒️Config
          • BlacklistVehicles
          • Craft
          • Functions
          • Language
          • Targets
          • Wraps
          • Events
        • ❓Common Questions
      • 🚚[ESX] Trucker
        • 🛠️Installation
        • 🗒️Config
          • 📄Functions
          • 📄Language
      • 🪵[ESX] Lumberjack
        • 🛠️Installation
        • 🗒️Config
      • 🛻[ESX] Mechanic Run
        • 🛠️Installation
        • 🗒️Config
      • ⛏️[ESX] Mining
        • 🛠️Installation
        • 🗒️Config
      • 🎣[ESX] Fishing
        • 🛠️Installation
        • 📄Config
          • Functions
          • Language
          • Diving
          • Fishingnet
          • Fishingrod
          • Seashells
          • Tournament
          • Upgrades
    • General
      • 🚘[ESX] Car Rental
        • 🛠️Installation
        • 🗒️Config
      • 📃[ESX] Insurance
        • 🛠️Installation
        • 🖥️Compatibilities
        • 📄Config
        • 🔁 Server-Exports
      • 🚘[ESX] Car Wash
        • 🛠️Installation
        • 📄Config
      • 📹[ESX] SpyCams & CCTV's
        • 🛠️Installation
        • 📄Config
        • 🏠[ESX] Motel
          • 🛠️Installation
          • 📄Config
          • 🖥️Compatibilities
      • 🛠️[ESX] Crafting
        • 🛠️Installation
        • 📄Config
          • Functions
          • Language
      • 🎄[ESX] Christmas
        • 🛠️Installation
        • 📄Configs
    • Illegal
      • 🔫[ESX] Gangs
        • 🛠️Installation
        • 📄Config
        • ❓Common Questions
      • 🅱️[ESX] Blackmarket
        • 🛠️Installation
        • 🗒️Config
          • config_functions
          • config_language
      • 🏨[ESX] GoPostal
        • 🛠️Installation
        • 📄Config
          • Functions
          • Language
          • S_utils
  • Both Framework
    • Scripts
      • 🚗Car Rebuild
        • 🛠️Installation
        • 🗒️Config
      • 🗺️City Guide
        • 🛠️Installation
        • 📄Config
          • Functions
          • Language
      • 🛒Shops
        • 📄Config
        • 🛠️Installation
      • 🔁Reputation
        • 📄Config
        • 🛠️Installation
        • ⁉️Exports & Commands
          • Server Exports
          • Commands
      • 💤AFK System
        • 📄Configs
        • 🛠️Installation
      • 🚗Garages
        • 🛠️Installation
        • 📑User Guide
          • Create Garages
          • Create Private Garage
          • Impound & Auctions
          • Add vehicle to gang/job
          • Commands
        • 🔁Compatibilities
      • ✈️Airplane Job
        • 🛠️Installation
        • 📃Configs
        • ℹ️Exports
      • 📋Scoreboard
        • 📃Config
      • 📦StorageUnits
        • 🛠️Installation
        • 📃Config
Powered by GitBook
On this page
  1. ESX
  2. Jobs
  3. [ESX] Tunerjob

Config

Config = {}

-----------------
-- Utilitys
----------------- 
Config.Prefix = "m-TunerJob"
Config.Target = "ox_target" -- "qtarget" or "ox_target"
Config.Inventory = "ox_inventory" -- "quasar" or "ox_inventory"
Config.NameOfStash = "tunnersstash" -- Stash Name
Config.MaxWeighStash = 50000 -- Stash Weight
Config.MaxSlotsStash = 50 -- Stash Slots
Config.FuelSystem = "LegacyFuel" -- "LegacyFuel" | "ti_fuel" | "ox_fuel"
Config.Job = "tunners" -- Name of job         
Config.EnableDebug = false -- If true, some prints goes to console
Config.CustomSounds = true -- Use custom sounds?
Config.Volume = 0.5 -- Volume of custom sounds
Config.Minigame = false -- Enable minigames?
Config.QuasarGarage = false -- If you use quasar garages ( for fixing vehicles )

Config.Times = {
    InstallCoilovers = 5000,
    InstallWraps = 5000,
    InstallPlates = 5000,
    InstallTurbo = 5000,
    InstallWindows = 5000,
    InstallXenon = 5000,
    InstallDriftTires = 5000,
    RemoveDriftTires = 5000,
    DiagonosticMachine = 5000,
}

Config.SettingsMinigame = { -- https://github.com/Project-Sloth/ps-ui
    NumberOfCircles = math.random(2,4),
    MS = math.random(7,10),
}

-----------------
-- Blip
-----------------
Config.Blip = {
    Enable = true,
    blipSprite = 446,
    blipScale = 0.7,
    blipColour = 0,
    blipAplha = 0.7,
    blipName = "Tunners",
    Location = vector3(125.38, -3034.99, 7.04),
}  

-----------------
-- Chop Chop
-----------------
Config.EnableChopChop = true -- Enable Chop Chop?
Config.EnableSpecificVehicles = false -- Enable Specific Vehicles? If true change on : Config.SpecificVehicles
Config.TimeToChopChopAgain = 900000 -- Time to chopchop again. (15 Minutes)
Config["ChopChopLocation"] = {
    [1] = { x = 144.06, y = -2998.79, z = 7.03},  
    -- You can add more locations
}

Config.AmountGiveAfterChopChop = math.random(2,10) -- Number of items that will go out
Config.ItemsOnChopChop = {  -- Items reward on chopchop
    'metalscrap',
    'steel',
    'rubber',
    'glass',
}

Config.SpecificVehicles = {     -- List of Specific Vehicles for chop chop
    "t20"
}

-----------------
-- Vehicles
----------------- 
Config.PlateText = "TUNNERS" -- Plate of the car
Config.CarMechanics = { -- List of car available to mechanic's spawn
    { carSpawn = "flatbed3", Label = "Flatbed" },
    { carSpawn = "towtruck", Label = "Towtruck" },
    { carSpawn = "minivan", Label = "Minivan (Rental Car)" },
    { carSpawn = "blista", Label = "Blista" },
}
-----------------
-- Câmeras
-----------------
Config.SecurityCamera = {
    hideradar = false,
    cameras = {
        [1] = {label = "CAM#1", coords = vector3(156.28, -3006.42, 13.15),  r = {x = -25.0, y = 0.0, z = 235.85},    canRotate = true, isOnline = true},
        [2] = {label = "CAM#2", coords = vector3(156.07, -3059.22, 13.57),  r = {x = -25.0, y = 0.0, z = 159.23},    canRotate = true, isOnline = true},
        [3] = {label = "CAM#3", coords = vector3(153.90, -3051.26, 12.49),  r = {x = -35.0, y = 0.0, z = 68.09},     canRotate = true, isOnline = true},
        [4] = {label = "CAM#4", coords = vector3(123.2, -3017.04, 10.02),   r = {x = -35.0, y = 0.0, z = -168.91},   canRotate = true, isOnline = true},
    },
}

----------------------
-- Peds
----------------------
Config.PedListMechanic = {                                              -- Peds that will be spawned in
    {
        model = "s_m_y_xmech_02",                                                         
        coords = vector3(125.31, -3026.32, 6.04),           
        heading = 358.52,
        gender = "male",
        scenario = "WORLD_HUMAN_STAND_MOBILE_UPRIGHT" 
    },
}

----------------------
-- Nitro
----------------------
Config.HudUpdateNitrous = "hud:client:UpdateNitrous" -- Your trigger hud update 
Config.ProgressBarTime = 3000 -- Time for installing nitrous (1000 = 1sec)
Config.NitroBoost = 5.0 -- How much power give nitro
Config.AccelerationBoost = 3.0 -- How much power give nitro
Config.NitroItem = "nitrous" -- Item for installing nitro
Config.EmptyNitrosItem = "emptynitrous" -- Item which receive after nitro finish
Config.SwitchKey = 21 -- Switch Between Nitro Mode and Smoke Extraction Mode(Purge) // Original is LEFT SHIFT
Config.NitroPurgeKey = 36 -- Key for using Nitro or Purge (Depends of Mode) // Original is LEFT CTRL
Config.FlowRateUpKey = 27 -- Incrase FlowRate // Original is ARROW UP
Config.FlowRateDownKey = 173 -- Decrease FlowRate // Original is ARRW DOWN
Config.MaxSpeed = 25 -- If you driving under this speed u can install Nitro and u can use Purge System
Config.Debug = false -- Server print for database
Config.PurgeFlowRate = 0.5 -- Thats the size of Purge Flow Rate when u restart the server or script (from 0.1 to 1.0)
Config.NitroUseRate = 0.3 -- How fast the nitrous drains
Config.PurgeUseRate = 0.2 -- How fast the purge drains
Config.PlaySoundOnSwitch = true -- if you want to have sound on switch leave it true
Config.SoundFile = 'beep-sound-1' -- file name without the .ogg (located in /resources/[standalone]/interact-sound/client/html/sounds/)
Config.PlaySoundOnFlowRate = true -- if you want to have sound on switch on flowrates leave it true
Config.SoundFileFlowRate = 'elecbuzz' -- file name without the .ogg (located in /resources/[standalone]/interact-sound/client/html/sounds/)
Config.SoundVolumeFlowRate = 0.05 -- Sound Volume for Purge Switch Flow Rate Sound File
Config.SoundVolumeSwitch = 0.05 -- Sound Volume for Switch Sound File
Config.UseMPH = true -- If true speed math will be done as MPH, if false KPH will be used
Config.OnlyAcceleration = false -- If its true then will affect only for acceleration if its false will affect on Top Speed and Acceleration
Config.UpdateLevelWait = 10000 -- This is only for test (after this time will update nitrous level in database)
Config.PressedWait = 5000 -- Waiting interval for Button Pressed (1000 is 1sec)
Config.TopSpeed = 200 -- This will be top speed when using nitro
Config.Cooldown = 3000 -- CoolDown for using Nitro (1000 = 1sec)

PreviousQS-InventoryNextBlacklistVehicles

Last updated 1 year ago

🚗
🗒️