For the complete documentation index, see llms.txt. This page is also available as Markdown.

config.lua

tgiCoreExports = exports["tgiann-core"]
config = tgiCoreExports:getConfig()

-- Auto detect tgiann-sound as sound system (https://tgiann.com/package/5367748)
config.useTgiannSound = GetResourceState("tgiann-sounds") ~= "missing"

-- Phone item names
config.phoneItems = lib.array:new("white_phone", "blue_phone", "green_phone", "red_phone", "pink_phone", "yellow_phone", "black_phone")

--- Setting the state to true and a value between 0 and 2 will cause pedestrian vehicles to react accordingly to sirens.
--- @type 0 | 1 | 2 | 3 # 0: Left, 1: Right, 2: Stop, 3: Ignore
config.overrideReactionToVehicleSiren = 3

config.handsupAnimations = {
    { name = "missminuteman_1ig_2", anim = "handsup_base" },
    { name = "mp_arresting",        anim = "idle" },
    { name = "random@mugging3",     anim = "handsup_standing_base" },
}

-- To disable this, you can leave the array empty or remove it entirely
--- @type string[] | nil | false
config.penaltyListCommands = { "fines", "cslist", "jaillist", "cezalılar", "kamulist", "hapislist" }

config.ESX = {
    ESXService = {
        active = config.esx_service, -- Enable esx service? (auto control on tgiann-core)
        jobs = {
            {
                name = "police",
                maxInService = 99 -- How many people can be in service at once?
            }
        }
    },
    ESXSociety = {
        active = GetResourceState("esx_society") ~= "missing", -- Enable esx society?
        jobs = {
            "police",
        }
    }
}

config.langs = {}

Last updated