lr_boilerplate/config.lua
2024-01-12 17:45:08 +07:00

32 lines
647 B
Lua

Config = {}
Config.Settings = {
locale = {}
}
--Dont touch this
Config.EnableModules = {
["Newbie"] = {
enabled = true,
client = true, -- enable client side
priority = 1, -- 1 : init on start | 2 : init on player loaded
},
["Test"] = {
enabled = true,
priority = 2, -- 1 : init on start | 2 : init on player loaded
},
}
Config.Debug = true
Config.Nui = false
Config.Dev = false
Config.Framework = "custom" -- "qb" | "esx" | "custom"
Config.ClientLazyLoad = false
function L(key, ...)
if Config.Settings.locale[key] then
return string.format(Config.Settings.locale[key], ...)
else
return key
end
end