T-Notify is a FiveM implementation of the SimpleNotification javascript library. This was originally a private resource created for use within my community but I have decided to modify it and release it for all.
This is to be used in conjunction with other resources, not by itself
Features
Notification queue system
Notification positioning
Markdown-like formatting
Sound alerts when notifications are triggered
User-defined custom styling
Persistent Notifications
Configurable animation settings
Video Demo
If you have trouble watching this video, click here.
All relevant documentation regarding usage can be found on the GitHub repository within the README.md. This documentation will show exactly how to trigger and customize a notification to your preference.
If you’ve got a cool and unique implementation of T-Notify that you wish to include in this post, send me a DM with a screenshot and explanation of your implementation
I have yet to check out the release in-game. But, as far as the images and github, it looks like a fairly great notification system.
One thing that I know would make it even better if you’re able to implement it is a history system. Meaning if cops are alerted, even after the alert time fades off, they can press a button and it’ll list all the alerts on the right side. Or even a highlight system where you can press a button on the highlighted notification for it to automatically set a GPS. It might be too much for it. But just great thoughts I’ve had and wanted to see.
Something that I also planned to do, depending on the response to this release. If the response is good and people want it, I’ll add a system to that spec.
The example is just that, an example implementation. This isn’t an alert script off the get-go. I will be adding functionality to it that allows for users to create their own alert system if they would like, but at its base, this resource is a general use notification system with high customizability. What you use that customizability for is up to the user.
Also, that error could be caused by not using the correct styles. The style must match one of the styles listed in the README.md under the Styles section. This won’t be the case forever as I am adding the capability for users to edit/add-to the CSS for their own totally custom styles.
Also, If you continue to get this error, please change the variable local debugMode present at the top of main.lua, from false to true and try again, please send me a screenshot of the F8 console after that point.