Thug Studios
TEBEXYOUTUBEDISCORD
  • πŸ“„Welcome
  • INFORMATION
    • πŸ“§Find Transaction ID
    • πŸ“¦Tebex Script Integration
    • πŸ”‘CFX Auth System
    • πŸ”“Escrow/Open Source
    • πŸ”—Get Steam Api Key
    • 🧾Get Player License
  • SCRIPTS
    • πŸ’›RP Series
      • πŸ“¦Thug Crafting
        • Installation
        • Shared/settings.lua
        • Shared/crafting_items.lua
        • Shared/levels.lua
        • Shared/locale.lua
        • Shared/notify.lua
        • Shared/debug.lua
      • πŸ“¦Thug Dispatch
        • Installation
        • Shared/settings.lua
        • Shared/alerts.lua
        • Shared/zones.lua
        • Shared/weapons.lua
        • Shared/locale.lua
        • Shared/notify.lua
        • Client/no_escrow.lua
        • Server/no_escrow.lua
      • πŸ“¦Thug RPS
        • Installation
        • Configuration
        • Translate
        • Server/no_escrow.lua
      • πŸ“¦Thug Keyword
        • Installation
        • Configuration
        • Translate
        • Server/no_escrow.lua
      • πŸ“¦Thug Hour Prizes
        • Installation
        • Configuration
        • No_Escrow
        • Ready Notify.lua
      • πŸ“¦Thug Anti Mods
        • Installation
        • Configuration
        • Translate
        • Ready Notify.lua
    • πŸ’šPVP Series
      • πŸ“¦Thug PVP Hud V3
        • Installation
        • Configuration
        • Translate
        • Shared/weapons.lua
        • Shared/zones.lua
        • Client/no_escrow.lua
        • Server/no_escrow.lua
      • πŸ“¦Thug Deathcam
        • Installation
        • Configuration
        • Translate
        • Ready Notify.lua
        • Shared/weapons.lua
        • Client/no_escrow.lua
        • Server/no_escrow.lua
      • πŸ“¦Thug Killfeed V2
        • Installation
        • Configuration
        • Translate
        • Shared/weapons.lua
        • Client/no_escrow.lua
        • Server/no_escrow.lua
      • πŸ“¦Thug Kill Shows
        • Installation
        • Configuration
        • Translate
        • Client/no_escrow.lua
Powered by GitBook
On this page
  1. SCRIPTS
  2. RP Series
  3. Thug Hour Prizes

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...",
}
PreviousInstallationNextNo_Escrow

Last updated 10 months ago

πŸ’›
πŸ“¦