NotyFive expands from what pNotify started and implements a more up to date version of the Noty library, in a different style.
Further features will added in the future, such as an outlaw alert system.
Github:
Preview:
Sending a notification:
Client
exports.NotyFive:SendNotification({text = "This is a test", type = "success", timeout = 7500})
or
TriggerEvent("NotyFive:SendNotification", {text = "This is a test", type = "success", timeout = 7500})
Server:
TriggerClientEvent('NotyFive:SendNotification', -1, ({text = "This is a test", type = "warning", timeout = 7500}))
Options are the same as pNotify:
This is an array that contains the properties of the notification
type - error/info/success/alert/warning
layout - location of notification (default Top Right)
theme - theme (default metroUI)
text - Text for your notification (HTML accepted)
timeout - Time unless it disappears
killer - if true, removes all other notifications
force - if true, appears at the top of the list
For more options and usages:
https://ned.im/noty/#/options
Credits:
needim - Noty JS libraryNick78111 - Original implementation