[FREE] [QB/ESX] v42-notify

v42-notfiy [QB/ESX] FREE

Change 1 function and your new Notifications are ready to use.

Custom Notification Features:

  • Set custom icon
  • Set custom sound
  • Set volume of sound
  • Option to mute sound
  • Create your custom notify in the config.lua !

You can use the regular QBCore Notify function or the regular ESX Notify function the v42-notify script will do everything for you. README Included to install the script correctly!

**Other scripts: **

Preview: https://www.youtube.com/watch?v=jLbM1542Xi8

Script download:

11 Likes

Good job, keep up the good work!

1 Like

Thanks for your support! :heart:

nice one. good job

1 Like

Thanks for your support! :heart:

ESX Soon?

1 Like

You could try to replace this function in esx_notify

local function Notify(notificatonType, length, message)

    if Debug then
        print("1 ".. tostring(notificatonType))
        print("2 "..tostring(length))
        print("3 "..message)
    end

    if type(notificatonType) ~= "string" then
        notificatonType = "info"
    end

    if type(length) ~= "number" then
        length = 3000
    end

    if Debug then
        print("4 ".. tostring(notificatonType))
        print("5 "..tostring(length))
        print("6 "..message)
    end

    
    exports['v42-notify']:notify(message, notificatonType, length);
end
1 Like

Replace the sendNuiMessage in de bottom with the export I placed at the bottom of the function

You could just use the export for you’re ESX script I guess :slight_smile:

I love how this looks, but is there any way to make it maybe 1/4 of the size? :slight_smile:

1 Like

Ofcourse please try this!
main.css (2.3 KB)

1 Like

You got it perfect. I appreciate you, I love how it looks. Well made and well done!

1 Like

Added some new features!

  • Option to Enable or Disable sound on Notify

Github Repo has been updated

Howdy -

Line 88 is diffrent to what you stated in the readme ?

do I replace this whole section with yours?

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
SendNUIMessage({
action = ‘notify’,
type = texttype,
length = length,
text = ttext,
caption = caption
})
else
texttype = texttype or ‘primary’
length = length or 5000
SendNUIMessage({
action = ‘notify’,
type = texttype,
length = length,
text = text
})
end
end

1 Like

Yes on default it’s line 88. But if it’s not that line just replace that whole function! :slight_smile:
That’s correct!

1 Like

This is really neat, thank you so much.
Cant wait to hear the responses from players <3

1 Like

Great to hear!

1 Like

Update v42-notfiy QBCore & ESX

Create fully custom notifications with custom sounds and more features

The originally Notify script had an rewrite, now its compatible with QBCore and ESX
For the lovers you can now change everything to how you want easily in the config.lua !
The notifications are now grouped so you won’t get spammed with the same notify!

Customizable:

  • Custom Icons
  • Custom sound
  • Custom color
  • Volume of sound
  • Mute sound or not

All the options are customizable for each notifications!

is it possible
to use this to change the notify for paycheck

1 Like

Ofcourse, if you just want the notification for the paycheck only. Run the export at the place you want.
exports[‘v42-notify’]:notify(‘your message’, ‘success’, 5000); :slightly_smiling_face: