Toasty is a clean, customizable standalone notification system for FiveM. It comes with a dark and a light mode and four presets for each.
Features
- Set the title and message of each notification
- Change animation properties: easing style, slide-in duration and how long notifications stay visible
- Dark or light theme
- Four preset types: error, info, success and warning
- Add custom presets with your own colors
- Remove or change the icon (Bootstrap Icons are included)
- Disable or change the sound effect
- Responsive: notifications scale with the player’s resolution, so they don’t look too big on low resolutions or too small on high ones
Requirements
Standalone. It is a client-side resource with an HTML/JS interface and needs no framework or database.
Installation
- Place the
toastyfolder in your resources and addensure toastyto your server.cfg. - Adjust defaults in
NUI/config.js. - The included
README.htmlexplains how to configure notifications and call them from your scripts.