Zarev28, post: 262596, member: 59564 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:
-=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
I added this in the server QBCore V9.1 and added this code to the qb-core functions, but the notifications is not working. Only writes undefined in the right and no notifications are showing. How can i fix that?
0
2y ago#22
thank you so much bro
0
2y ago#23
i will try this give me a sec
0
2y ago#24
nice one this really does work
0
2y ago#25
Thanks for the upload. Thank you bro
0
2y ago#26
Thanks for the upload thanks
0
2y ago#27
Zarev28, post: 262596, member: 59564 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:
-=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
Zarev28, post: 262596, member: 59564 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:
-=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
Zarev28, post: 262596, member: 59564 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:
-=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
68 replies
I added this in the server QBCore V9.1 and added this code to the qb-core functions, but the notifications is not working. Only writes undefined in the right and no notifications are showing. How can i fix that?
I need it Thank you
Very simple and easy, thanks for sharing
Thank you for your information and is
[ATTACH type="full"]12315[/ATTACH]
function QBCore.Functions.Notify(text, texttype, length)
exports['brutal_notify']:SendAlert('Notify', text, 5000, texttype)
end