Installation guide
Welcome to the Brutal Notify installation guide, here you can learn how to completely install our asset.
Last updated
function QBCore.Functions.Notify(text, texttype, length)
if type(text) == "table" then
local ttext = text.text or 'Placeholder'
local caption = text.caption or 'Placeholder'
texttype = texttype or 'primary'
length = length or 5000
exports['brutal_notify']:SendAlert(caption, ttext, length, texttype)
else
texttype = texttype or 'primary'
length = length or 5000
exports['brutal_notify']:SendAlert('Brutal Notify', text, length, texttype)
end
end-- First we will start the cores, never below
ensure es_extended or qb-core
ensure brutal_notify -- ensure the script before the other scripts
ensure [jobs]
ensure [inventory]
ensure [billing]
-- other scripts