📝How to Install
Last updated
Last updated
Follow the steps below:
Download the script from keymaster.fivem.net
Remove any existing notification scripts
Extract the provided files
Go to qb-core/client/functions.lua and replace QBCore.Functions.Notify to the one below:
function QBCore.Functions.Notify(text, texttype, length, icon)
local message = {
action = 'notify',
type = texttype or 'server',
length = length or 5000,
}
if type(text) == 'table' then
message.text = text.text or 'Placeholder'
message.caption = text.caption or 'Placeholder'
else
message.text = text
end
if icon then
message.icon = icon
end
exports['st-notify']:sendNotification('Server', text, texttype, length)
-- SendNUIMessage(message)
end
After that, go ahead and save the file.
Restart and your server and enjoy the script.
If you face any difficulties, you can contact us anytime on our Discord by creating a support ticket.
Discord: https://discord.gg/storm-dev