mobius1 / bulletin Goto Github PK
View Code? Open in Web Editor NEWCustomisable notifications for FiveM
License: GNU General Public License v3.0
Customisable notifications for FiveM
License: GNU General Public License v3.0
Hey, first of all, I love this resource, great work!
I think it would be cool to add a sound feature like t-notify do.
What do you think?
if someday this gets updated could be cool to have this working with these notifications :)
It would be good if when a new line was made bold text was reset to not be bold
Hello, is this possible to align the notifications position by player safezone size? Because i took all of the info needed from client to js, but its not working, but on my hud its working just perfect :D I'm trying to put the needed style on bulletin_container, because i can't find anything else where can i put that style, any help?
JS
this.safezone = safeZoneSize const f = safeZoneSize * 0.5 const tbMargin = window.screen.height * f; const lrMargin = window.screen.width * f; document.getElementById('bulletin_container').style.margin =
${tbMargin}px ${lrMargin}px``
client
function AddNotification(data) data.config = Config data.safeZoneSize = 1.0 - GetSafeZoneSize() SendNUIMessage(data); end
local pinID = exports.bulletin:SendPinned({
type = 'advanced' -- or 'standard' -- TYPO, NO COMMA BEHIND 'advanced'
message = 'This is pinned!',
title = 'Title',
subject = 'Subject',
icon = 'CHAR_BANK_MAZE'
})
Just being annoying.
Hello, not sure how no one else is experiencing this issue, but I've done some researching and found that only the v1.1.6 version has working progress bars for simple notifications, advanced notifications seem to always have progress bars. So after downgrading to 1.1.6 they now have progress bars, but 1.1.7+ don't. Whatever was changed from 1.1.6 to 1.1.7 that broke the progress bars ever showing on simple notifications.
As well I have tried everything I believe and the animation out does not work on any of these version stated above, the notification always just disappear instead of fading out(fadeOut). I have experience with animation.css, it always works for other projects, but I'm not sure why it doesn't work for my bulletin.
If you can spread some light on how to fix these exit animation it would be appreciated as the progress bars are fixed with the 1.1.6 version.
FYI I did not change the call for the simple notifications when testing, just the app.js file for bulletin and it worked after finding the correct version.
Some of the characters like (ą, č, ę, ė, į, š, ų, ū, ž) are not supported, and displayed in other font.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.