📝Configurables

--[[
BY RX Scripts Š rxscripts.xyz
--]]

Config.DiscordWebhook = 'https://discordapp.com/api/webhooks/1163094573434814464/Q4u2iwVW__VdfgEzsW3UpC7DGGg7bgSxSUhJTIbayGVhMzJiIVcrv5KDmW_rHqB2kpUn'
Config.UseItem = 'wartablet' -- If false then enables command to open the interface instead of an item
Config.UseMoney = ESX and 'money' or 'cash' -- Money type used for all money transactions

Config.OpenInterfaceCommand = "wartablet" -- Command to open the interface (only if UseItem is false)
Config.EndWagerCommand = "endwar" -- Command to end a war

Config.DisplayEnemyDistance = 100.0 -- From how far the players in active wars sees the enemy visibilities
Config.DisplayEnemyTitle = true
Config.DisplayEnemyMarker = true
Config.KillsToWin = 2 -- How many kills to win the war
Config.WagerMinimum = 100000 -- Minimum wager amount
Config.WagerMaximum = 10000000 -- Maximum wager amount

Config.TabletAnim = { -- Tablet opening animation
    dict = "amb@code_human_in_bus_passenger_idles@female@tablet@base",
    anim = "base",
}

Config.Gangs = { -- Match the key names with the job/gang names from the Jobs table
    ["ballas"] = {
        Label = "Ballas",
        Image = "ballas.png",
        RequiredGrades = { -- Minimum grades required to use the interface for each action
            sendWar = 2,
            revokeWar = 2,
            acceptWar = 2,
            declineWar = 2,
            manageBalance = 2,
        } 
    },
    ["bloods"] = {
        Label = "Bloods",
        Image = "bloods.png",
        RequiredGrades = { -- Minimum grades required to use the interface for each action
            sendWar = 2,
            revokeWar = 2,
            acceptWar = 2,
            declineWar = 2,
            manageBalance = 2,
        }
    },
    ["vagos"] = {
        Label = "Vagos",
        Image = "vagos.png",
        RequiredGrades = { -- Minimum grades required to use the interface for each action
            sendWar = 2,
            revokeWar = 2,
            acceptWar = 2,
            declineWar = 2,
            manageBalance = 2,
        } 
    },
}

Config.GroupsToEndWagers = { -- Groups that can end wagers with /endwager {gang}
    "superadmin",
    "admin",
    "mod",
}

--[[
    INITIALIZATION SECTION

    ONLY UNCOMMENT/CHANGE THIS IF YOU HAVE RENAMED SCRIPTS SUCH AS FRAMEWORK, TARGET, INVENTORY ETC
    RENAME THE SCRIPT NAME TO THE NEW NAME
--]]
-- ESX = 'es_extended'
-- QB = 'qb-core'
-- OXInv = 'ox_inventory'
-- QBInv = 'qb-inventory'
-- QBAmbu = 'qb-ambulancejob'
IgnoreResourceNotFoundErrors = false

Last updated