config.lua
--[[
- 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
]]
tgiCoreExports = exports["tgiann-core"]
config = tgiCoreExports:getConfig()
config.lang = "en"
config.voiceKey = "N"
config.showBankMoney = true
config.showPlayerJobName = true
config.vehicleTable = config.framework == "qb" and "player_vehicles" or "owned_vehicles"
config.logoCssStyle = {
width = "10vh",
height = "10vh",
opacity = "0.3"
}
config.bigMap = {
active = true,
key = "OEM_3"
}
config.compassUpdateRate = 10
config.totalKmUpdateRate = 2500
config.harnessBelt = {
itemName = "harness",
take = {
time = 14000,
progressbar = {
disableMovement = true,
disableCarMovement = false,
disableMouse = false,
disableCombat = true,
}
},
remove = {
time = 14000,
progressbar = {
disableMovement = true,
disableCarMovement = false,
disableMouse = false,
disableCombat = true,
}
},
}
-- u can change and edit icons from ui/assets folder
config.helpButtons = {
{ icon = "radialMenu.svg", key = "F3", label = "Radial Menu" },
{ icon = "box.svg", key = "F2", label = "Inventory" },
{ icon = "phone.svg", key = "F1", label = "Phone" },
{ icon = "map.svg", key = "P", label = "Map" },
}
config.defaultColors = {
{ label = "Green", background = "#36FF9F", color = "#252525" },
{ label = "Lime Green", background = "#32CD32", color = "#252525" },
{ label = "Sea Green", background = "#2E8B57", color = "#fff" },
{ label = "Bright Blue", background = "#00BFFF", color = "#252525" },
{ label = "Electric Blue", background = "#7DF9FF", color = "#252525" },
{ label = "Neon Red", background = "#FF073A", color = "#fff" },
{ label = "Electric Red", background = "#FF3333", color = "#fff" },
{ label = "Neon Orange", background = "#FF4500", color = "#fff" },
{ label = "Bright Orange", background = "#FFA500", color = "#252525" },
{ label = "Fluorescent Yellow", background = "#CCFF00", color = "#252525" },
{ label = "Hot Pink", background = "#FF69B4", color = "#fff" },
{ label = "Deep Pink", background = "#FF1493", color = "#fff" },
{ label = "Fuchsia", background = "#FF00FF", color = "#fff" },
{ label = "Violet", background = "#8A2BE2", color = "#fff" },
{ label = "Plum", background = "#DDA0DD", color = "#252525" },
{ label = "Lavender", background = "#E6E6FA", color = "#252525" },
{ label = "Light Green", background = "#90EE90", color = "#252525" },
{ label = "Light Blue", background = "#ADD8E6", color = "#252525" },
{ label = "Golden", background = "#FFD700", color = "#252525" },
{ label = "Cobalt Blue", background = "#0047AB", color = "#fff" },
{ label = "Rose Red", background = "#FFC0CB", color = "#252525" },
{ label = "Peach", background = "#FFDAB9", color = "#252525" },
{ label = "Copper", background = "#B87333", color = "#252525" },
{ label = "Cream", background = "#FFFDD0", color = "#252525" },
}
config.backgroundColors = {
{ label = "Light Black v1", background = "rgba(19, 19, 19, 0.75)" },
{ label = "Light Black v2", background = "rgba(19, 19, 19, 0.65)" },
{ label = "Light Black v3", background = "rgba(19, 19, 19, 0.55)" },
{ label = "Light Black v4", background = "rgba(19, 19, 19, 0.45)" },
{ label = "Light Black v5", background = "rgba(19, 19, 19, 0.35)" },
}
config.signal = {
active = true,
keys = { -- https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/keyboard/
left = "LEFT",
right = "RIGHT",
both = "UP"
}
}
config.MPH = false
config.disableAirControl = true
config.fuelAlarmMin = 20
config.usePmaVoice = true --use pma as voip script (if you are using different systems you need to edit editable.lua)
config.useTgiannSound = true -- use tgiann-sound as sound system (https://tgiann.tebex.io/package/5367748)
config.minimapAlwaysOpen = false
config.wheelCanBreak = true --If set true, the wheel may break during an crash (Need Artifact Version Min: 6351)
--Cruise
config.enableCruiseControl = true
config.cruiseKey = "y" -- https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/keyboard/
--Show Money
config.enableShowMoney = true
config.showMoneyKey = "TAB" -- https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/keyboard/
--Engine Stalls
config.engineStalls = true -- Engine stalls for 1-3 seconds in case of crash
config.engineStallsMinSpeed = 40
--Belt Settings
config.enableSeatBelt = true
config.beltActiveDisableFKey = true --if true the "F" key won't work while the belt is on
config.seatbeltKey = "k" -- https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/keyboard/
config.noBeltEjectActive = true -- If you crash at speeds above config.noBeltEjectMinSpeed when this setting is active, you will be eject out of the vehicle. (works with the belt off)
config.noBeltEjectMinSpeed = 120
config.beltEjectActive = true -- If you crash at speeds above config.beltEjectMinSpeed with this setting enabled, you will be eject out of the vehicle (even if the belt is on)
config.beltEjectMinSpeed = 180
config.commands = {
hud = "hud",
cruisespeed = "cruisespeed"
}
config.langs = {}
config.soundsName = {
alarm = "alarm",
belt = "tak",
unBelt = "cikar",
}
Last updated