[FREE][STANDALONE] bulletin - Customisable Notifications

v1.1.8 Released

  • Adds support for updating pinned notification content as suggested by @Shatter3d

Download



-- Send pinned notification
local pinID = exports.bulletin:SendPinned({
    type = 'advanced',
    message = 'This is pinned!',
    title = 'Title',
    subject = 'Subject',
    icon = 'CHAR_BANK_MAZE',
    theme = 'success'
})

-- Update it's content
exports.bulletin:UpdatePinned(pinID, {
    message = 'Updated message!',
    title = 'Updated title',
    subject = 'Updated subject',
    icon = 'CHAR_TREVOR',
    theme = 'error'
})

ezgif.com-gif-maker

Only the message, title, subject, icon, theme and flash options can be updated at the moment.

1 Like

Absolut legend.

1 Like

Would also love to use this HUD on my server, with a few edits ofcourse, if you are okay with that let me know!

is it possible to use advanced with an mugshot from the playerPed as Icon?

my code

local mugshot, mugshotStr = ESX.Game.GetPedMugshot(playerPed)
exports.bulletin:SendAdvanced({
	message = notification.msg,
	title = notification.title,
	subject = notification.subject,
	timeout = 5000,
	theme = 'success',
	type = 'advanced',
	icon = mugshotStr,
	exitAnim = 'fadeOut'
})

but the picture will not be shown :frowning:

Not possible with this library.

The only way to do it is use something like jonassvensson4 / mugshot to get the base64 image and store it for bulletin to use as the icon. However, you’d end up with a huge mugshot showing up in the corner whilst it captures it.

v.1.1.9 Released

  • Fixes progress bars not showing on standard notifications

Download

1 Like

Heyyyy, is there any change to get help to do align with minimap position?

I’m working on it and it’ll be part of the next release :+1: