Configuration

Config = {}

-- # Main Settings  ------------------------------------------------------------------------------------

Config.Settings = {
    ['Framework'] = 'qb', -- | # In this section you have the options "qb", "oldqb", "esx", "oldesx", "qbx"
    ['Database_Location'] = "data/db.json", -- | # Don't touch this part!
    ['AFK_Seconds'] = 300, -- | # This part works according to seconds. So if this is 300 seconds, a player will go AFK after 5 Minutes of inactivity and their time will not count.
    ['Database_Driver'] = "ghmattimysql", -- | # In this section you have the options "oxmysql", "ghmattimysql", "mysql-async"
    ['Menu_Interaction'] = {type = "keybind", command = "hprizes", keybind = "F5"}, -- | # You can change the type in this section to β€œcommand” or β€œkeybind”. According to the change you made, you need to edit your command and keybind sections.
}

-- # Prizes  ------------------------------------------------------------------------------------

-- | # Prizes can be increased as you wish.

Config.Prizes = {
    [1] = {type = "money", amount = math.random(500, 800)},
    [2] = {type = "item", item = "weapon_p226", amount = 1},
    [3] = {type = "item", item = "armor", amount = math.random(10, 15)},
    [4] = {type = "vehicle", vehicle = "blista", amount = 1},
    [5] = {type = "money", amount = math.random(800, 1000)},
    [6] = {type = "money", amount = math.random(800, 1000)},
    [7] = {type = "item", item = "medkit", amount = 20},
    [8] = {type = "vehicle", vehicle = "turismor", amount = 1},
    [9] = {type = "money", amount = math.random(1000, 1200)},
    [10] = {type = "money", amount = math.random(1000, 1200)},
    [11] = {type = "item", item = "weapon_ak47", amount = 1},
    [12] = {type = "vehicle", vehicle = "dodo", amount = 1},
    [13] = {type = "money", amount = math.random(1200, 1400)},
    [14] = {type = "money", amount = math.random(1200, 1400)},
    [15] = {type = "item", item = "weed", amount = math.random(15, 20)},
    [16] = {type = "vehicle", vehicle = "infernus", amount = 1},
    [17] = {type = "money", amount = math.random(1400, 1600)},
    [18] = {type = "money", amount = math.random(1400, 1600)},
    [19] = {type = "item", item = "blackcard", amount = 1},
    [20] = {type = "vehicle", vehicle = "sultan", amount = 1},
    [21] = {type = "money", amount = math.random(1600, 1800)},
    [22] = {type = "money", amount = math.random(1600, 1800)},
    [23] = {type = "item", item = "weapon_sniper", amount = 1},
    [24] = {type = "vehicle", vehicle = "cognoscenti", amount = 1},
    [25] = {type = "money", amount = math.random(1800, 2000)},
    [26] = {type = "money", amount = math.random(1800, 2000)},
    [27] = {type = "item", item = "medkit", amount = 1},
    [28] = {type = "vehicle", vehicle = "ztype", amount = 1},
    [29] = {type = "money", amount = math.random(2000, 2200)},
    [30] = {type = "money", amount = math.random(2000, 2200)},
    [31] = {type = "item", item = "armor", amount = math.random(20, 30)},
    [32] = {type = "vehicle", vehicle = "turismor", amount = 1},
    [33] = {type = "money", amount = math.random(2200, 2400)},
    [34] = {type = "money", amount = math.random(2200, 2400)},
    [35] = {type = "vehicle", vehicle = "zentorno", amount = 1},
}

-- # Translate  ------------------------------------------------------------------------------------

Config.Locale = {
    ["Collected"] = "You have collected the prize!",
    ["Collect_Error"] = "You can't collect this prize. Its already collected or not enough time to collect!",
    ["AFK_On"] = "After 5 minutes of inactivity, AFK mode has been activated. Your Hour Prizes time will not be counted until you exit AFK mode!",
    ["AFK_Off"] = "You're out of AFK mode. Your Hour Prizes time continues to count...",
}

Last updated