Config
Config File
Config = {}
Config.Framework = "qbx" -- "esx" or "qb" or "qbx"
Config.Inventory = "ox" -- "ox" or "qb" or "ps" or "qs"
Config.UISoundEffects = true -- Enable/Disable UI Sound Effects
Config.Commands = {
["REFERRAL"] = "referral",
["CLOSE_REFERRAL"] = "close-referral",
}
-- Rewards to the player who used the code
Config.RewardsToUser = {
{
type = "item",
name = "burger",
amount = 5,
},
}
-- Rewards to the player who invited another player | Each invite gives rewards listed below
Config.RewardsPerEachInvite = {
{
type = "item",
name = "burger",
amount = 2,
},
}
---Notify function
---@param message string
---@param type? 'error'|'info'|'success'|'warning'
---@param duration? integer
function Notify(message, type, duration)
lib.notify({
description = message,
type = type,
duration = duration or 3000,
})
end
function _U(text)
return Locale[text] or text
end
Last updated