"Customizable" notification script for your FiveM server, that's fully open source and modifiable
- Download/clone this repository into your resources folder
- Add
ensure bo-notifications
anywhere to your server.cfg, preferably at the start. - Edit the config according to your tastes.
- Edit any script that uses any notification service (QB, ESX) and replace any mention of a notify event with this:
- Server:
TriggerClientEvent('bo-notifications:notify', "NOTIFTYPE", "ACTUALTEXT")
- Client:
TriggerEvent('bo-notifications:notify', "NOTIFTYPE", "ACTUALTEXT")
You can also use an export:
exports["bo-notifications"]:Notify("NOTIFTYPE", "ACTUALTEXT")
warn
-Used for warning the player about e.g dangers,info
- Used for informing the player about useful info.success
- Signifies success of a taskfailure
- Signifies failure of a task
- Add your sound files into
NUI/sounds
- Add your sound file into
fxmanifest.lua
underfiles{}
- Edit the config file according to your taste.
- Basic notification functions
- GUI for configuring the script (Probably wont do?)
- Custom sounds made by me (I don't know how though.)
- User friendly tutorial on how to use this script
-
Automatic replacement of qb-notify and esx-notify?Impossible to do. - Fully finish the script
-
Proper MatV3 design?Google's documentation on MatV3 is stupidly nowhere to be seen.