MahmoudiTech
Well-known member
thank you so much 

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.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!
-=Stripped Content=-
Preview
View attachment 11602
Proof:
View attachment 11601
Appreciated bud! that would be the best thing with this notifyI 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.
Thanks again for sharing the code !!View attachment 11610
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 for sharing this is awesome.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!
-=Stripped Content=-
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
Preview
View attachment 11602
Proof:
View attachment 11601
Why does it not work for every thing?View attachment 11610
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