Config file

--[[ 
    - this script needs tgiann-core script to work, you can download the script from your keymaster account
      Start tgiann-core script after es_extented/qb-core script and before tgiann-* scripts
      Adjust the tgiann-core config file according to the framework you are using
    
    Client Event List
        If the indicator is on it turns it off, if it is off it turns it on.
        - tgiann-damage-indicator:onOff | TriggerEvent("tgiann-damage-indicator:onOff")

        Turns the indicator on or off according to the value
        - tgiann-damage-indicator:onOrOff | bool | ex: TriggerEvent("tgiann-damage-indicator:onOrOff", true)

        If the icons is on it turns it off, if it is off it turns it on.
        - tgiann-damage-indicator:iconOnOff | TriggerEvent("tgiann-damage-indicator:iconOnOff")

        Turns the icons on or off according to the value
        - tgiann-damage-indicator:iconOnOrOff | bool | ex: TriggerEvent("tgiann-damage-indicator:iconOnOrOff", true)
]]

tgiCoreExports = exports["tgiann-core"]
Config = tgiCoreExports:getConfig()
Config.onlyShowPlayer = true -- Only show player hit damage
Config.defaultIconsOpen = true
Config.colors = {
    head = "yellow",
    armor = "#3989ff", -- Armor Hit Color
    health = "#31a372", -- Health Hit Color
    dead = "#800" -- Dead Color
}

Config.hitSound = {
    active = true,
    useTgiannSound = true
}

Config.commands = {
    indicator = {
        active = true,
        command = "damage"
    },
    icon = {
        active = true,
        command = "damageicon"
    }
}

Config.fontSize = {--Note: You can edit font type from html and css files
    min = 2.0,
    max = 2.5,
}

Config.spawnPedCommand = false -- /spawnped command for testing
Config.damageTest = false -- Don't Change

Last updated