Config.lua

-- Discord: https://discord.gg/EW5E8qcG9F
-- Join Discord For Any Suggestion Or Upcoming Update

Config = {
    Debug = false,
    Core = 'qb-core',
    Target = 'qb-target',
    Menu = 'qb-menu',
    MenuCore = 'ox',                    -- IF QB-Menu       | Then Make IT 'qb'
                                        -- IF OX_Lib        | Then Make IT 'ox'
    Input = 'qb-input',             
    Inventory = 'qb',                   -- If qb-inventory  |    Then Make It 'qb' 
                                        -- If ox-inventory  |    Then Make It 'ox' 
    Dispatch = 'qb',                    -- If Project       | Dispatch Then Make It 'ps' 
                                        -- If QBCore        | Dispatch Then Make It 'qb'
                                        -- If Quasar        | Dispatch Then Make It 'qs'
                                        -- If Quasar        | Dispatch Then Make It 'l2s'
                                        -- If CD            | Dispatch Then Make It 'cd'
                                        -- If R_Core        | Dispatch Then Make It 'r_core'
                                        -- If linden        | outlawalert Then Make It 'lo'
    DispatchName = "ps-dispatch",                   -- If You Rename The Dispatch Name
    L2SEvent = 'l2s-policehub:server:sendalert'     -- If You Rename The Dispatch Name
}

--- Don't Touch ---
Config.dmgBarColour = true
Config.dmgBarFull = "▓"
Config.dmgBarEmpty = "░" 
Config.CurrentCooldown = 0
--- Don't Touch ---

Config.MinPolice = 1
Config.PoliceJobName = 'police'
Config.JobType = 'leo'
Config.GlobalCooldown = 1800 * 1000 
Config.MissionANightOnly = false
Config.NightTimeStart = 20
Config.NightTimeEnd = 8
Config.SellerBlip = true

-- Organs and Prices
Config.Organs = {
    ["lefteye"] = {
        label = "Left Eye",
        price = 100,
        icon = "fas fa-eye",
        taken = false,
    },
    ["rightteye"] = {
        label = "Right Eye",
        price = 250,
        icon = "fas fa-eye",
        taken = false,
    },
    ["leftkidny"] = {
        label = "Left Kidny",
        price = 400,
        icon = "fas fa-pills",
        taken = false,
    },
    ["rightkidny"] = {
        label = "Right Kidny",
        price = 550,
        icon = "fas fa-pills",
        taken = false,
    },
    ["lung"] = {
        label = "Lung",
        price = 700,
        icon = "fas fa-lungs-virus",
        taken = false,
    },
    ["heart"] = {
        label = "Heart",
        price = 800,
        icon = "fas fa-heartbeat",
        taken = false,
    },
    ["liver"] = {
        label = "Liver",
        price = 950,
        icon = "fas fa-shield-virus",
        taken = false,
    },
}

-- Organ BloodTypes 
Config.BloodTypes = {
    ["O+"] = {
        label = "O+",
        priceBoost = 5000,
    }, 
    ["O-"] = {
        label = "O-",
        priceBoost = 6000,
    }, 
    ["A+"] = {
        label = "A+",
        priceBoost = 7500,
    }, 
    ["A-"] = {
        label = "A-",
        priceBoost = 8000,
    }, 
    ["B+"] = {
        label = "B+",
        priceBoost = 10000,
    }, 
    ["B-"] = {
        label = "B-",
        priceBoost = 12000,
    }, 
    ["AB+"] = {
        label = "AB+",
        priceBoost = 15000,
    }, 
    ["AB-"] = {
        label = "AB-",
        priceBoost = 20000,
    }, 
}

-- Organ Status
Config.OrganStatus = {
    ["healthy"] = {
        label = "Healthy",
        priceDown = 0,
    },
    ["injured"] = {
        label = "Injured",
        priceDown = 5000,
    },
    ["alcoholic"] = {
        label = "Alcoholic",
        priceDown = 10000,
    },
    ["smoker"] = {
        label = "Smoker",
        priceDown = 20000,
    },
    ["cancer"] = {
        label = "Cancer",
        priceDown = 30000,
    },
}

Config.VictimSpawnPoints = {
    vector4(179.95, 6529.69, 31.78, 38.35),
    -- vector4(-597.26, 6089.9, 8.53, 79.21),
    -- vector4(1582.82, 3905.41, 31.88, 350.49),
    -- vector4(2799.68, -716.4, 4.77, 58.86),
    -- vector4(1288.03, -3342.16, 5.9, 53.86),
    -- vector4(-567.36, -2816.93, 6.0, 117.0),
    -- vector4(-1176.76, -1780.21, 3.91, 302.49),
    -- vector4(555.79, 2724.33, 42.06, 270.03),
}

Config.VictimModels = {
    "s_m_m_autoshop_01",
    "s_f_m_fembarber",
}

Config.CarLocation = vector4(1480.72, 6391.87, 22.89, 342.69)
Config.CarModel = "burrito3"
Config.CarBlip = false

Config.HackingTool = "trojan_usb"

Config.SellerLocation = vector4(-1580.32, 5171.11, 19.55, 189.74)
Config.SellerModel = "s_m_y_factory_01"
Config.SellingMoneyType = "cash"


Config.VehKeyExports = function(veh, plate, model)
    -- Set your own vehicle keys export here..
    TriggerEvent("vehiclekeys:client:SetOwner", plate)
    -- Set your own vehicle keys export here.. 
end

Config.Lang = {
    error = {
        organcooler = "You Don't Have Required Items!",
        chloroform = "You Don't Have Required Items!",
        hackitem = "You Don't Have Required Items!",
        organbox = "You Don't Have Required Items!",
        nightonly = "This only works at night!",
        police = "Not Enough Police.",
        cooldown = "On Cooldown.. Please Wait",
        hack = "Hack Failed!",
    },
    success = {
        knockedout = "Victim Knocked Out!",
        organbox = "You Recived One Organ Box.",
        sold = "Sold!",
    },   
    info = {
        missionSubTitle = "Go to any ~y~Trafic Poll~s~ for data center hack.",
        sellerTarget = "Seller Manu",
        missionTarget = "Find Missing People",
        returnCarTarget = "Return Car",
        putOnTableTarget = "Put On The Table",
        scanVictimTarget = "Scan Victim",
        carryVictimTarget = "Carry Victim",
        traficPollTarget = "Hack Data Center",
        dumpstarTarget = "Dispose Victim's Body",
        carPutInTarget = "Put In",
        carTakeOutTarget = "Take Out",
        kidnapTarget = 'Kidnap',
        carBlipText = "Kidnaping Car",
        hackingDataCenterProgress = "Hacking Data Center..",
        knockingVictimProgress = "Knocking Out Victim..",
        carryVictimProgress = "Picking Up Victim..",
        scanningVictimProgress = "Scanning Victim..",
        cuttingOrganProgress = "Cutting ",
        sellingOrganProgress = "Trying to Sell ",
        finishSurgeryText = "Finish Surgery",
        missingNotificationTitle = "Data Center",
        missingNotificationSubTitle = "Missing Information",
        missingNotificationText = "Location Marked In Your GPS Map!",
        victimBioText = "VICTIM'S BIO",
        bloottypeText = "BloodType:",
        statusText = "Status:",
        --Dispatch
        DispatchMassage = "Someone Kidnapping Civilian",
        DispatchCode = "10-4 Kidnapping Civilian",
        DispatchDescription = "Kidnapping Civilian",
        DispatchPriority = 'low' -- 'low' | 'medium' | 'high'
    }, 
}

Last updated