Skip to Content
TC LibConfiguration

Configuration Steps

Getting Started

Using your text editor of choice, open the config.lua in tc_lib

resources/ ├── [libs]/ │ └── tc_lib/ │ └── config.lua <-- Open this!

Choose your prefered language

--[[ This file is used to configure the library. Once you config once, it will apply to all Ticker scripts. Please do not remove any lines unless you know what you are doing. For custom intergrations, please reach out to our support. ]] Config = {} Config.Locale = "en" -- Change this to whatever you want!

Your selection will be supported on every Ticker Scripts resource automatically.

Want to add another language? Easy!

Every Ticker Script resource has a translate option to translate the script to your preferred language.
Example:

├── [libs]/ │ └── tc_lib/ │ └── locales/ │ ├── en.json │ ├── es.json │ ├── fr.json │ └── YourLanguage.json -- Add as many as you want!

💭 Note: You will need to translate each script seperately

Choose your framework

--[[ This file is used to configure the library. Once you config once, it will apply to all Ticker scripts. Please do not remove any lines unless you know what you are doing. For custom intergrations, please reach out to our support. ]] Config = {} Config.Framework = "qb" -- "qb", "esx" (since qbox is a fork of qbcore, there is no need to create a separate bridge for it)

Other configurations

To make every Ticker Script function as you want, we need to know how you want them to behave.
We have configurations to make sure that we are using the exact dependencies you want for a specific feature.

Config.TextUI = "ox_lib" -- "ox_lib", "lation_ui", "framework" (for native framework) Config.Target = "ox_target" -- "ox_target", "qb-target" Config.Inventory = "ox_inventory" -- "ox_inventory" Config.Skillcheck = "ox_lib" -- "ox_lib", "lation_ui" Config.Dispatch = "default" -- "default", "ps", "codesign" -- Default will dispatch at the location with your choice of notify, not recommended if Config.Dispatch == "default" then Config.DefaultDispatchRespondKey = "J" -- https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/keyboard/ end Config.DispatchJobs = { police = {"police", "bcso", "sheriff", "lspd"}, ambulance = {"ambulance", "ems"}, mechanic = {"mechanic"} -- Add other jobs here } Config.AllowedDispatchJobs = {} -- dont touch this -- Note: this list WILL change in the future, look at your config.lua for reference.
Last updated on