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

      https://tgiann.gitbook.io/tgiann/scripts/tgiann-core
]]

tgiCoreExports = exports["tgiann-core"]
config = tgiCoreExports:getConfig()
config.maxStayTime = 300 -- Delete marker after how many seconds after creation
config.showReasons = true -- show the reason for the drop in the game
config.showDistance = 100 -- Draw distance of drawmarker
config.showDrawText3Distance = 8 -- Draw distance of 3d text
config.textMaxLenght = 99 -- max 99
config.colorful = true -- make the text colorful

config.test = {
    active = true, -- active test command
    command = "droptest" -- /droptest [exit message]
}

config.marker = { -- You can edit in more detail in client/editable.lua
    type = 32, -- https://docs.fivem.net/docs/game-references/markers/
    height = -0.3, -- height of the marker from the main coordinate
    rgb = {204, 204, 0}, -- Marker Color (Red, Green, Blue) https://www.w3schools.com/colors/colors_rgb.asp
    alpha = 150, -- Market Alpha (min 0, max 255)
    size = {1.15, 1.15, 1.15} -- Marker Size
}
config.drawText3D = {
    alpha = 150, -- 3 Draw Text D Alpha (min 0, max 255)
    height = 0.65, -- height of the 3D Text from the main coordinate
}

Last updated