Our Config
Below you will find our Config for your Scoreboard Lite.
Config
config.lua
Config = {
Debug = false, -- Enable/Disable Debug Messages, only enable if you know what you are doing!
Framework = 'esx', -- Framework you are using, currently ESX and QB-Core are supported!
UpdateInterval = 5, -- Time in Seconds, how often the players will be updated!
UseRPName = true, -- Enable/Disable RP Names, if you are using ESX or QB Identity you should enable this!
Jobs = {
{
label = "LSPD",
job = "police",
color = "#5894EE",
icon = 'assets/img/police.svg'
},
{
label = "LSMD",
job = "ambulance",
color = "#EE58B2",
icon = 'assets/img/ambulance.svg'
},
{
label = "MECHANICS",
job = "mechanic",
color = "#EE8E58",
icon = 'assets/img/mechanic.svg'
},
{
label = "PLAYERS",
icon = 'assets/img/players.svg',
color = '#FFFFFF'
}
},
Locales = {
Title = 'SCOREBOARD',
Description = 'Here you can see your score and score from another players',
Id = 'ID',
Name = 'Name',
Ping = 'Ping'
},
Keybind = {
DefaultKey = 'F10', -- The default key to open the scoreboard!
Text = 'Open Scoreboard' -- The text that will be displayed in the keybind menu!
}
}
if Config.Framework:lower() == 'esx' then
ESX = exports['es_extended']:getSharedObject()
elseif Config.Framework:lower() == 'qb-core' then
QBCore = exports['qb-core']:GetCoreObject()
end