Config File

The configuration file of the resource.

config.lua
Config = {}

Config.CountAllDeath = true -- If 'false' then the "Death Counter" will count only when player is killed by another player.
Config.CountOnlyActivePlayers = false -- If 'true' then only the active players will be showed on the player list.
Config.EnableKdResetForPlayers = true -- If false then disabled.
Config.MenuCommand = "kd" -- If 'false' then disabled.
Config.DefMenuBind = "HOME" -- The default binding to open the leaderboard, players can change it in their settings.
Config.BlurBackground = false -- If 'false' then disabled.
Config.EnableGlobalStats = true -- If 'false' then the global statistics are disabled.

Config.Locales = {
    wrong_use = "Wrong use!",
    kd_reset = "K/D resetted!",
    menu_description = "K/D Leaderboard",
    reset_disabled = "K/D reset is disabled!"
}

function notify(msg)
    --- YOUR CODE FOR NOTIFY ---
	ESX.ShowNotification(msg)
    --- FOR EXAMPLE ---
    --exports['mythic_notify']:SendAlert('inform', msg)
end

Last updated