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
      • âœˆī¸Airplane Job
        • đŸ› ī¸Installation
        • 📃Configs
        • â„šī¸Exports
      • 📋Scoreboard
        • 📃Config
      • đŸ“ĻStorageUnits
        • đŸ› ī¸Installation
        • 📃Config
Powered by GitBook
On this page
  1. ESX
  2. Jobs
  3. [ESX] Mechanic Run

Config

Config = {}

Config.Debug = true -- If true have some prints and you can make the command /veh for testing.
Config.Jobs = { "mechanic" } -- List of jobs available to use the run repair kit
Config.Item = "runrepairkit" -- Item used fo repairing
Config.Payment = { min = 25, max = 75 } -- Payment for each run
Config.Time = math.random(5000,7500) -- Time to wait new run
Config.RepairingTime = 12000 -- 12 Seconds to repair the vehicle
Config.Remove = 1 -- 1 = Vehicle delete when finish repair. | 2 = Vehicle delete after 20 seconds of repairing

Config.MechanicPed = { model = "s_m_m_gaffer_01", coords = vector4(169.70, -3018.20, 4.87, 141.78)}

Config.PossibleSpawnPoints = { -- Possible spawn points for cars
    vector4(169.05, -3005.23, 5.80, 130.4)
}

Config.PossibleVehicles = {	-- Possible models that can spawn
	{ model = "cogcabrio"},
	{ model = "oracle2"},
	{ model = "zion"},
	{ model = "panto"},
	{ model = "felon"},
	{ model = "jackal"},
	{ model = "windsor2"},
	{ model = "f620"},
	{ model = "ruiner"},
	{ model = "virgo2"},
	{ model = "asea"},
	{ model = "exemplar"}
}

Config.Language = {
    dead = "You are dead you can't do that.",
    water = "You are in the water you can't do that.",
    inside = "You cannot do this inside a vehicle.",
    noKit = "You dont have any run repair kit.",
    wrong = "Something wrong.",
    repairing = "Repairing the vehicle...",
    blip = "Vehicle Run",
    start = "Start Run",
    repaired = "Vehicle repaired! You can leave and the client will come and collect it later.",
    veh = "Vehicle:",
    plate = "Plate:",
    notify = "My vehicle is parked and has stopped working, can you come and help please?",
    startRun = "You have started a run, wait for some call.",
    wrongJob = "You are not a mechanic.",
}
PreviousInstallationNext[ESX] Mining

Last updated 2 months ago

đŸ›ģ
đŸ—’ī¸