This script is a integration of the simple-notif framework for js
4 type of notification : success, error, info, warning
3 different theme : 1,2,3
2 type of animation : fade, slide
Cooldown with progressbar
more features in the client.lua
You can choose between these 3 themes
To use the notification (Client-Side) :
exports['Xel_Notify']:sendNotify(type, title, msg)
Example :
exports['Xel_Notify']:sendNotify('success', 'Superette', 'Merci pour votre achat !')
To use the notification (Server-Side) :
TriggerClientEvent('Xel_Notif:Notif', source, type, title, msg)
Example :
TriggerClientEvent('Xel_Notif:Notif', xPlayer.source, 'success', "Superette", "Merci pour votre achat !")
https://github.com/simple-notify/simple-notify
If you like my work don't forget to put a star :)