Configuration

If you are using ox_lib, then for using ox_lib progressbar you must unblock 1 line on fxmanifest.lua, then type to game/server console "refresh" and "ensure ug_shoprobbery" Config.lua

Config = {}

Config.Framework = "newqb" -- newesx / oldesx / newqb / oldqb
Config.DispatchSystem = "cd_dispatch" -- cd_dispatch / linden_outlawalert / qs-dispatch
Config.ProgressBar = "ox_lib_circle" -- rprogress / ox_lib / ox_lib_circle / qbcore / progressBars
Config.TargetSystem = "ox_target" -- ox_target / qb-target

Config.CodemTextUI = {
    enable = false, -- set drawtext on Config.Target and enable (https://codem.tebex.io/package/5984937)
    thema = "thema-7",
    key = "E" -- DO NOT TOUCH
}

Config.PrepareItems = "weapon_smg" -- Set Item for starting heist
Config.PoliceCount = { -- Setup Police/sheriffs what you need for start heist (if you have police lower then sheriffs then take polices, if police 1 and sheriff 2 then if you have 1 police then automaticlly started up)
    ["sheriff"] = 3,
    ["police"] = 1,
}

Config.EnableBlip = true -- Blips is for Config.ShopRobberyStart / Config.ShopRobberyPrepare
Config.Blip = {
    sprite = 96,
    display = 96,
    scale = 0.9,
    color = 71
}

Config.TimeToEnd = 20 * 60000 --(20minutes) Time after which the bounty will end if the heist in the shop does not start

Config.ShopRobberyStart = {
    {
        coords = vector3(1142.1225585938, -973.24230957031, 45.639797210693),
        heading = 277.63168334961,
        ped = "a_m_y_business_01",
    }
}

Config.ShopRobberyPrepare = {
    { -- vector4(1142.3035888672, -970.09399414062, 46.845157623291, 276.87887573242)
        coords = vector3(1142.3035888672, -970.09399414062, 45.845157623291),
        heading = 276.87887573242,
        ped = "a_m_y_business_01",
    }
}


Config.Money = false -- if set false then setup your black/dirty money item on your server
Config.BlackMoneyItem = "dirty_money"

Config.MinSafeMoney = 10000
Config.MaxSafeMoney = 50000
Config.MinRegisterMoney = 1000
Config.MaxRegisterMoney = 10000

Config.Locale

Last updated