Installation guide
Welcome to the Brutal Notify installation guide, here you can learn how to completely install our asset.
If you don't have any experience in development we are highly recommend to follow each step in this documentation, and if you have a developer ask them to install the script for you as they have more experience.
Asset download
Once the purchase is made on our official website, you will receive your asset directly in your Keymaster, in the Granted Assets panel you will see the asset, download it and do the following steps to install it correctly.
Put the script folder to your server.
Start the script in the server.cfg. (ensure brutal_notify)
Restart your server! (And you get permission to use the script)
How can I edit the Notify in any other scripts?
How to integrate Brutal Notify with your server
ESX
function ESX.ShowNotification(message, type, length)
exports['brutal_notify']:SendAlert('Brutal Notify', message, length, type)
end
QBCORE
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
Asset positioning
Correctly position the assets in the server.cfg by following this step, if something goes wrong you will probably get errors about exports not found, do not skip this step!
-- 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
If you got any error
If you followed the installation guide and the script still don't work or you get any errors the please check the common errors, here in the docs and in our discord server, for more informations.
Last updated
Was this helpful?