Config File


--      $$$$$$$\  $$$$$$$$\ $$$$$$$\  $$$$$$$$\ $$\              $$$$$$\   $$$$$$\  $$$$$$$\  $$$$$$\ $$$$$$$\ $$$$$$$$\  $$$$$$\  
--      $$  __$$\ $$  _____|$$  __$$\ $$  _____|$$ |            $$  __$$\ $$  __$$\ $$  __$$\ \_$$  _|$$  __$$\\__$$  __|$$  __$$\ 
--      $$ |  $$ |$$ |      $$ |  $$ |$$ |      $$ |            $$ /  \__|$$ /  \__|$$ |  $$ |  $$ |  $$ |  $$ |  $$ |   $$ /  \__|
--      $$$$$$$  |$$$$$\    $$$$$$$\ |$$$$$\    $$ |            \$$$$$$\  $$ |      $$$$$$$  |  $$ |  $$$$$$$  |  $$ |   \$$$$$$\  
--      $$  __$$< $$  __|   $$  __$$\ $$  __|   $$ |             \____$$\ $$ |      $$  __$$<   $$ |  $$  ____/   $$ |    \____$$\ 
--      $$ |  $$ |$$ |      $$ |  $$ |$$ |      $$ |            $$\   $$ |$$ |  $$\ $$ |  $$ |  $$ |  $$ |        $$ |   $$\   $$ |
--      $$ |  $$ |$$$$$$$$\ $$$$$$$  |$$$$$$$$\ $$$$$$$$\       \$$$$$$  |\$$$$$$  |$$ |  $$ |$$$$$$\ $$ |        $$ |   \$$$$$$  |
--      \__|  \__|\________|\_______/ \________|\________|       \______/  \______/ \__|  \__|\______|\__|        \__|    \______/ 
                                                                                                                           
                                                                                                                           

Config = {}

Config.Locale = "en" -- supported locales are "en", "swe" & "custom"
Config.Framework = "qb-core" -- set to "ESX", "qb-core" or "Custom" if you have a custom framework.
-- If you use qb-core set the framework to the name of your core folder. Example: If you have renamed your core to "test-core" set it to "test-core".
-- Edit the functions/events in client/edit.lua and server/edit.lua if you are using a custom framework.

Config.Semi_Anticheat = true -- If you want to use the built-in semi-anticheat, set this to true. This will prevent players from doing certain exploits.
Config.Semi_Anticheat_Webhook = "https://discordapp.com/api/webhooks/1071166252334190785/6Z-UAOpzy2SKfFwdv5CLOGC4XwkFB8sJbVTjGkIdaYBC9GPxO2QRFtta8Kc-fJkGE2Rt"

Config.Webhook = "https://discordapp.com/api/webhooks/1074725718170292304/-4Vx40EPPqWT9gIbA23BmT5QKDLFzw79w0dOJ4wYApfgdS8h3KV0fXlyC9C1B64x4ArC"
Config.Required_Police = 0 

Config.Require_Dufflebag = true  -- If the player would need to have a duffle bag on to do certain actions like thermite and looting trolleys, etc.
Config.Dufflebag_Slot = 45  -- By default 45, you may need to change this if you have custom clothing in your server.

Config.Police_Jobs = {
    ["police"] = true,
    ["bcso"] = true
}

Config.Blip_Options = {
    Enabled = true,
    Sprite = 487,
    Display = 4,
    Scale = 0.8,
    Colour = 1,
    Name = "Bobcat Security",
    Coords = vector3(888.083984375, -2125.9543457031, 31.230251312256),
}

-- List of supported minigames:
-- ps-ui_circle - https://github.com/Project-Sloth/ps-ui
-- ps-ui_number_maze - https://github.com/Project-Sloth/ps-ui
-- ps-ui_var - https://github.com/Project-Sloth/ps-ui
-- ps-ui_thermite - https://github.com/Project-Sloth/ps-ui
-- ps-ui_scrambler - https://github.com/Project-Sloth/ps-ui
-- np_laptop - https://github.com/Jesper-Hustad/NoPixel-minigame/tree/main/fivem-script
-- np_thermite - https://github.com/pushkart2/memorygame
-- datacrack - https://github.com/utkuali/datacrack
-- fingerprint - https://github.com/utkuali/Finger-Print-Hacking-Game
-- mhacking - https://github.com/justgreatgaming/FiveM-Scripts-2
-- safecracker - https://github.com/qbcore-framework/safecracker

Config.Minigames = {
    -- Minigame for the thermite door behind the vault door
    Thermite_Minigame = {
        Minigame = "ps-ui_thermite",
        Extra_Params = {10, 5, 3},
        Required_Items = {"thermite"},
        Remove_Items = true
    },

    -- Laptop Minigame for the third door
    Laptop_Minigame = {
        Minigame = "np_laptop",
        Extra_Params = {20, 3, 3},
        Required_Items = {"bckeycard"},
        Remove_Items = true
    },
}

Config.CrateLoot = {
    [1] = {
        item = "weapon_carbinerifle", -- item name
        prop = "w_ar_carbinerifle", -- prop name
        probability = {a = 0, b = 10}, -- 10% chance to get a carbinerifle from a crate
    },
    [2] = {
        item = "weapon_smg", -- item name
        prop = "w_sb_smg", -- prop name
        probability = {a = 10, b = 25}, -- 15% chance to get a smg from a crate
    },
    [3] = {
        item = "weapon_assaultrifle", -- item name
        prop = "w_ar_assaultrifle", -- prop name
        probability = {a = 25, b = 45}, -- 20% chance to get an assault rifle from a crate
    },
    [4] = {
        item = "weapon_appistol", -- item name
        prop = "w_pi_appistol", -- prop name
        probability = {a = 45, b = 70}, -- 25% chance to get an assault rifle from a crate
    },
    [5] = {
        item = "weapon_combatpistol", -- item name
        prop = "w_pi_combatpistol", -- prop name
        probability = {a = 70, b = 100}, -- 30% chance to get an assault rifle from a crate
    },
}

Config.CrateSpawnChance = 100 -- percentage for a trolley to spawn
Config.TrolleySpawnChance = 100 -- percentage for a trolley to spawn
Config.GoldChance = 50 -- percentage for a trolley to be golden
Config.Gold_Bars = {min = 7, max = 12}
Config.Marked_Bills = {min = 3000, max = 8000}

Config.Use_Item_As_Black_Money_With_Metadata = true -- Example, standard QBCore markedbills.
Config.Black_Money_Item = "markedbills" -- If you use the above option, set the item name here.
Config.Use_Item_As_Black_Money_Without_Metadata = false -- Example, an item called markedbills but uses amount instead of metadata.
-- ^^ if both are false then it will use esx standard black money.

Config.Locations = {
    ["First Door"] = {
        coords = vector3(914.97, -2121.87, 31.23),

        -- Values -- 
        ["opened"] = false, -- dont touch
        ["busy"] = false, -- dont touch
    },
    ["Second Door"] = {
        coords = vector3(908.83, -2120.6, 31.23),

        -- Values -- 
        ["opened"] = false, -- dont touch
        ["busy"] = false, -- dont touch
    },
    ["Third Door"] = {
        coords = vector3(905.42, -2119.1, 31.23),

        -- Values -- 
        ["opened"] = false, -- dont touch
        ["busy"] = false, -- dont touch
    },
    ["Secret Door"] = {
        coords = vector3(878.08, -2122.72, 31.23),

        -- Values -- 
        ["opened"] = false, -- dont touch
        ["busy"] = false, -- dont touch
    },
    ["Vault"] = {
        coords = vector3(888.41, -2130.47, 31.23),

        -- Values -- 
        ["opened"] = false, -- dont touch
        ["busy"] = false, -- dont touch
    },
    ["Garage Door"] = {
        coords = vector3(887.96, -2108.51, 31.23),

        -- Values -- 
        ["opened"] = false, -- dont touch
        ["busy"] = false -- dont touch
    },
}

Config.TrolleySpawns = {
    [1] = {
        coords = vector4(886.32, -2123.02, 30.22, 207.89),
        walk_to_coords = vector4(886.78, -2123.47, 31.23, 24.97),
        ["looted"] = false, -- dont touch
        ["busy"] = false -- dont touch
    },
    [2] = {
        coords = vector4(885.86, -2125.31, 30.22, 317.19),
        walk_to_coords = vector4(886.13, -2124.72, 31.22, 134.27),
        ["looted"] = false, -- dont touch
        ["busy"] = false -- dont touch
    },
    [3] = {
        coords = vector4(885.55, -2126.57, 30.22, 207.89),
        walk_to_coords = vector4(886.0, -2127.02, 31.22, 24.97),
        ["looted"] = false, -- dont touch
        ["busy"] = false -- dont touch
    },
    [4] = {
        coords = vector4(885.44, -2128.77, 30.22, 317.19),
        walk_to_coords = vector4(885.71, -2128.18, 31.23, 134.27),
        ["looted"] = false, -- dont touch
        ["busy"] = false -- dont touch
    },
}

Config.CrateSpawns = {
    [1] = {
        coords = vector4(891.16, -2127.23, 30.23, -96.84),
        walk_to_coords = vector4(890.21, -2127.16, 31.23, 260.55),
        ["looted"] = false, -- dont touch
        ["busy"] = false -- dont touch
    },
    [2] = {
        coords = vector4(890.86, -2123.64, 30.23, -95.63),
        walk_to_coords = vector4(889.91, -2123.59, 31.23, 261.76),
        ["looted"] = false, -- dont touch
        ["busy"] = false -- dont touch
    },
    [3] = {
        coords = vector4(890.37, -2120.76, 30.23, -4.41),
        walk_to_coords = vector4(890.34, -2121.70, 31.23, 352.98),
        ["looted"] = false, -- dont touch
        ["busy"] = false -- dont touch
    },
    [4] = {
        coords = vector4(887.32, -2120.46, 30.23, -5.57),
        walk_to_coords = vector4(887.27, -2121.40, 31.23, 351.82),
        ["looted"] = false, -- dont touch
        ["busy"] = false -- dont touch
    },
}

Config.SecretPed = {
    ["taken"] = false, -- dont touch
    ["busy"] = false -- dont touch
}

Config.Guards = {
    vector4(898.94, -2120.94, 31.23, 278.32),
    vector4(897.54, -2125.05, 31.23, 344.07),
    vector4(897.37, -2133.85, 31.23, 358.33),
    vector4(890.96, -2133.93, 31.23, 276.84),
    vector4(883.93, -2133.56, 31.23, 269.13),
    vector4(879.03, -2131.86, 31.23, 262.42),
    vector4(880.41, -2126.04, 31.23, 176.67),
    vector4(881.13, -2117.98, 31.23, 178.99),
    vector4(876.44, -2118.11, 31.23, 270.9),
    vector4(876.49, -2110.68, 31.23, 199.51),
    vector4(890.01, -2110.23, 31.23, 94.44)
}

Last updated