Hey what HUD are you using?
I will definitely use them on my server! They are beautiful!! good work
Itās one I wrote for my server.
Any chance of releasing? Itās beautiful
v1.1.5 Released
- Added option to pass a table of options to
Send()
andSendAdvanced()
methods (see below) - Added flash param to make the notifictation blink
- Added support for
animate.css
for exit animations - Fixed
exitAnim
not working on advanced notifications
You can now pass a table to the Send()
and SendAdvanced()
methods instead of seperate params:
Standard
-- client
exports.bulletin:Send({
message = 'This is a notification',
timeout = 5000,
position = 'bottomleft',
progress = true
})
--server
TriggerClientEvent('bulletin:send', source, {
message = 'This is a notification',
timeout = 5000,
position = 'bottomleft',
progress = true
})
Advanced
--client
exports.bulletin:SendAdvanced({
message = 'This is a notification',
title = 'This is a title',
subject = 'This is a subtitle',
icon = 'CHAR_BANK_MAZE',
timeout = 10000
})
-- server
TriggerClientEvent('bulletin:sendAdvanced', source, {
message = 'This is a notification',
title = 'This is a title',
subject = 'This is a subtitle',
icon = 'CHAR_BANK_MAZE',
timeout = 10000
})
New flash
option:
Hello, thank you very much for the update. We have a problem. If the players are not in the car and do not have a mini map (Serious RP) then the notify must be at the bottom left but if they in the car with minimap, it should appear above the minimap. Is there anyway to make this possible ?
No, but Iāll add the option to the next update to pass custom positioning that overrides the config file.
EDIT
There is a way to do it, but youād need to change the position
param and add some css
overrides in custom.css
. Just replace CUSTOM-BOTTOM-POSITION
with your desired string:
.bulletin-notification-container.notification-container-CUSTOM-BOTTOM-POSITION {
left: 20px;
bottom: 60px;
}
In vehicle
exports.bulletin:Send({
message = 'My Message',
position = 'bottomleft'
})
Out of vehicle
exports.bulletin:Send({
message = 'My Message',
position = 'CUSTOM-BOTTOM-POSITION'
})
NOTE
Bulletin checks for top
or bottom
in the position
string so your custom string must contain top
or bottom
if you want the notifications to arrange correctly.
Nice HUD aswell, is there a chance of you releasing it in the future?
Quite a few people have asked me to release it so Iāll tidy the code up and stick it on GitHub in the next few days.
Thanks mate
v1.1.6 Released
- Added support for pinning notifications with
SendPinned()
andUnpin()
methods (See docs) - Added events for pinning from server side
- Code cleanup
Using Pinned Notifications
local pinID = exports.bulletin:SendPinned({
type = 'advanced' -- or 'standard'
message = 'This is pinned!',
title = 'Title',
subject = 'Subject',
icon = 'CHAR_MAZE_BANK',
position = 'bottomright'
})
-- unpin
exports.bulletin:Unpin(pinID)
-- unpin multiple
exports.bulletin:Unpin({pinID1, pinID2, pinID3, ...})
-- unpin all
exports.bulletin:Unpin()
[HELP] please help me how to remove standard notifications ? which are such as es_extended and at work, I just tried something that doesnāt work and donāt quite understand how
Replace all instances of esx:showAdvancedNotification
with bulletin:sendAdvanced
thank you, everything works, and in order to increase the display time, you need to register a timeout there
Any update on the hud? I love the design ;D
exports.bulletin:Send(āBenutztā, 5000, ātopā ,false, āsuccessā, āfadeOutā, false)
its still shows the default message and not the success one, and the fadeOut dont works too,
did i make somthing wrong?
I messed up the code in the last release so the themes for standard notifications werenāt working.
The latest release fixes it.
v1.1.7
Is it possible to update a pinned notification?
Not at the moment, but I can implement it easily as pinned notifications return IDs to unpin them so the ID can be used to update it as well. Stay tuned.
Looking forward to it. Thatās the only thing missing right now, other than that itās perfect <3