[PAID] [MLO + SCRIPT] [QB/ESX] - m-IllegalDoctors - Multiple Locations - Custom MLO

A script by m-Scripts

No reviews yet.
[PAID] [MLO + SCRIPT] [QB/ESX] - m-IllegalDoctors - Multiple Locations - Custom MLO main image

Full Description

:pushpin: About Script:

  • Optimized
  • Compatible with qb-target / ox_target
  • Compatible with qb-inventory / ox_inventory / qs-inventory
  • Enable/disable blips
  • Payments settings with cash, bank or blackmoney
  • Progress time individual for each location
  • Restrict each location with job/gang
  • Multiple bed support for treatment
  • Multiple items support for shop
  • Webhooks
  • 0.0ms

:pushpin: Config:

Config = {}

Config.Display = "target" -- "target" or "showHelpText"

Config.IllegalDoctors = {
    [1] = {
        name = "Illegal_doctor01", -- Dont Touch
        blip = { enable = true, id = 403, color = 1, scale = 0.8, name = "Illegal Doctor" }, -- This is the blip settings
        location = vector3(-408.79, 6371.79, 14.09), -- This is the location of the ped
        pedName = "s_m_y_autopsy_01", -- This is the ped model
        pedPostion = vector3(-408.79, 6371.79, 14.09), -- This is the position of the ped
        pedHeading = 180.0, -- This is the heading of the ped
        paymentSettings = {
            type = "cash", -- "cash" or "bank" or "markedbills"
            amount = 5000, -- Amount of money that the player has to pay
            item = "markedbills" -- If you use markedbills, this is the item name
        },
        timeProgress = 5000, -- Time in ms that the player has to wait to get the treatment
        restrictDoctor = true, -- If you want to restrict the doctor to a certain gang
        restrictGangs = { -- This is the gangs that are allowed to use this doctor
            [1] = "vagos",
            [2] = "ballas",
            [3] = "grove",
            [4] = "lost",
            [5] = "bikers"
        },
        shopItems = { -- This is the items that are available in the shop
            [1] = { name = "bandage",       price = 5000, amount = 5, info = {}, type = "item", slot = 1 },
            [2] = { name = "firstaid",      price = 5000, amount = 5, info = {}, type = "item", slot = 2 },
            [3] = { name = "painkillers",   price = 5000, amount = 5, info = {}, type = "item", slot = 3 },
        },
        bedPositions = { -- This is the position of the beds
            [1] = { coords = vector3(-401.13, 6367.45, 14.97), heading = 119.99 },
            [2] = { coords = vector3(-403.7, 6373.84, 15.0), heading = 290.91 },
            [3] = { coords = vector3(-397.67, 6374.54, 15.01), heading = 220.15 },
            [4] = { coords = vector3(-395.67, 6370.55, 14.96), heading = 209.75 },
        }
    },
    --[[[2] = {
        name = "Illegal_doctor02", -- Dont Touch
        blip = { enable = true, id = 403, color = 1, scale = 0.8, name = "Illegal Doctor" }, -- This is the blip settings
        location = vector3(1839.0, 3672.0, 34.28), -- This is the location of the ped
        pedName = "s_m_y_autopsy_01", -- This is the ped model
        pedPostion = vector3(1839.0, 3672.0, 34.28), -- This is the position of the ped
        pedHeading = 180.0, -- This is the heading of the ped
        paymentSettings = {
            type = "cash", -- "cash" or "bank" or "markedbills"
            amount = 5000, -- Amount of money that the player has to pay
            item = "markedbills" -- If you use markedbills, this is the item name
        },
        timeProgress = 5000, -- Time in ms that the player has to wait to get the treatment
        restrictDoctor = true, -- If you want to restrict the doctor to a certain gang
        restrictGangs = { -- This is the gangs that are allowed to use this doctor
            [1] = "vagos",
            [2] = "ballas",
            [3] = "grove",
            [4] = "lost",
            [5] = "bikers"
        },
        shopItems = { -- This is the items that are available in the shop
            [1] = { name = "bandage",       price = 5000, amount = 5, info = {}, type = "item", slot = 1 },
            [2] = { name = "firstaid",      price = 5000, amount = 5, info = {}, type = "item", slot = 2 },
            [3] = { name = "painkillers",   price = 5000, amount = 5, info = {}, type = "item", slot = 3 },
        },
        bedPositions = { -- This is the position of the beds
            [1] = { coords = vector3(1839.0, 3672.0, 34.28), heading = 180.0 },
            [2] = { coords = vector3(1839.0, 3672.0, 34.28), heading = 180.0 },
            [3] = { coords = vector3(1839.0, 3672.0, 34.28), heading = 180.0 },
            [4] = { coords = vector3(1839.0, 3672.0, 34.28), heading = 180.0 },
        },
    }]]
}

:pushpin: Links:

| Code is accessible | configs |
| Subscription-based | No |
| Lines (approximately) | ~500|
| Requirements | Server Build 2699 |
| Support | Yes |