Original post · 3y ago#1
Hello, guys. Here I'm sharing you the Brutal Notify that I Bought and I'll leave proofs that it's open source, so you don't waste your 3 credits. Enjoy! :cool: Notify Installation QBCore: 1.Go to qb-core/client/functions/lua 2.Find: QBCore.Functions.Notify(text, texttype, length) 3.Replace it with this: 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('Brutal Notify', message, length, type) else texttype = texttype or 'primary' length = length or 5000 exports['brutal_notify']:SendAlert('Brutal Notify', message, length, type) end end Notify Installation ESX: 1.Go to es-extended/client/functions.lua 2.Find ESX.ShowNotification 3.Replace with this: function ESX.ShowNotification(message, type, length) exports['brutal_notify']:SendAlert('Brutal Notify', message, length, type) end [URL='']Preview[/URL] [ATTACH type="full" alt="9346a3b762ec0c4419590887a6d843440c0bae8c.jpeg"]11602[/ATTACH] Proof: [ATTACH type="full" alt="Screenshot 2023-11-28 011255.png"]11601[/ATTACH]
Download
This file is reserved for VIP members.
68 replies
If it works, why to complain?
Thanks for sharing. Could you or anyone reading my reply possibly share the code to replace it with the default qbcore notify. That would make things a lot easier.
I will do it, I'll share instructions to install it as no one really provides how to, give me a few hours to get ack home.
Appreciated bud! that would be the best thing with this notify
[ATTACH type="full"]11610[/ATTACH]
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('Brutal Notify', message, length, type)
else
texttype = texttype or 'primary'
length = length or 5000
exports['brutal_notify']:SendAlert('Brutal Notify', message, length, type)
end
end
Thanks again for sharing the code !!
thanks for sharing this is awesome.
Why does it not work for every thing?