⚙️Configuration
config.lua
--[[
░██████╗██╗░░██╗██████╗░ ░██████╗░█████╗░██████╗░██╗██████╗░████████╗░██████╗
██╔════╝██║░██╔╝██╔══██╗ ██╔════╝██╔══██╗██╔══██╗██║██╔══██╗╚══██╔══╝██╔════╝
╚█████╗░█████═╝░██████╔╝ ╚█████╗░██║░░╚═╝██████╔╝██║██████╔╝░░░██║░░░╚█████╗░
░╚═══██╗██╔═██╗░██╔══██╗ ░╚═══██╗██║░░██╗██╔══██╗██║██╔═══╝░░░░██║░░░░╚═══██╗
██████╔╝██║░╚██╗██║░░██║ ██████╔╝╚█████╔╝██║░░██║██║██║░░░░░░░░██║░░░██████╔╝
╚═════╝░╚═╝░░╚═╝╚═╝░░╚═╝ ╚═════╝░░╚════╝░╚═╝░░╚═╝╚═╝╚═╝░░░░░░░░╚═╝░░░╚═════╝░
--]]
skr = {}
skr.Core = "esx" -- esx/qbcore
skr.Inventory = "ox_inventory" -- esx, qb-inventory, ox_inventory
skr.ItemName = "tasercart"
skr.MaxShots = 2
skr.Notify = "default" -- default - ESX Notify, okok, ox_lib, custom - you can edit in client_config.lua
-- Locales
skr.Locales = {
NotifyReloadError = {
NotifyTitle = "Taser",
NotifyDescription = "You have no cartridge on you",
NotifyType = "error",
},
NotifyReload = {
NotifyTitle = "Taser",
NotifyDescription = "Reload your taser",
NotifyType = "error",
},
ProgressbarLabel = "Changing taser cartridge"
}
client_config.lua
--[[
░██████╗██╗░░██╗██████╗░ ░██████╗░█████╗░██████╗░██╗██████╗░████████╗░██████╗
██╔════╝██║░██╔╝██╔══██╗ ██╔════╝██╔══██╗██╔══██╗██║██╔══██╗╚══██╔══╝██╔════╝
╚█████╗░█████═╝░██████╔╝ ╚█████╗░██║░░╚═╝██████╔╝██║██████╔╝░░░██║░░░╚█████╗░
░╚═══██╗██╔═██╗░██╔══██╗ ░╚═══██╗██║░░██╗██╔══██╗██║██╔═══╝░░░░██║░░░░╚═══██╗
██████╔╝██║░╚██╗██║░░██║ ██████╔╝╚█████╔╝██║░░██║██║██║░░░░░░░░██║░░░██████╔╝
╚═════╝░╚═╝░░╚═╝╚═╝░░╚═╝ ╚═════╝░░╚════╝░╚═╝░░╚═╝╚═╝╚═╝░░░░░░░░╚═╝░░░╚═════╝░
--]]
function CustomNotify(notifyTitle, notifyDescription, notifyType)
--[[
lib.notify({
title = notifyTitle,
description = notifyDescription,
type = notifyType
})
--]]
end
Last updated