Notify (ed_notify)
A simple & elegant notification system.
Installation
Download the Script
Download the script using keymaster.
Add it to your resources
Open the downloaded zip, copy ed_notify
& put it inside your resources.
Start the Script
Finally, if everything is right, you can put it inside your server.cfg
as follows:
Well done! You can now enjoy your new script.
You are free to change the resource name.
If you change the resource name, all exports & events will be renamed to new resource name.
ESX Integration
If you want to change the default notification system to ed_notify
, you'll need to replace ESX.ShowNotification
function as follows:
QBCore Integration
If you want to change the default notification system to ed_notify
, you'll need to replace QBCore.Functions.Notify
function as follows:
Don't forget to move your notify configuration from qb-core/config.lua
to ed_notify/config.lua
.
Configuration
Make sure to restart the script after changing one of these files.
API
Push
Pushing a notification:
Update
Updating a notification:
Dismiss
Dismissing a notification: