πUser guide
User guide on how to use the Dynasty Notify
1. Using the notification
exports['dynasty_notify']:Notify({
icon = "fas fa-check",
iconColor = "#09E85E",
title = "SUCCESS",
message = "Default success message for notification.",
progressBarColor = "#09E85E",
sound = "info.mp3",
})2. Default notifications
Config.DefaultNotify = {
boxColor = "#2B2D42",
icon = "fas fa-info-circle",
iconColor = "#2f83ff",
iconSize = "20px",
iconShake = false,
title = "ALERT",
titleColor = "#F8E5EE",
titleFontSize = "15px",
message = "Example notification message",
messageColor = "#C4C6E7",
messageFontSize = "13px",
image = false,
progressBarColor = "#2f83ff",
progressBarHeight = "4px",
sound = "success.mp3",
soundVolume = 0.4,
counterColor = "#dc3545",
counterFontSize = "10px",
time = 5000
}3. Notification configuration
3.1 Box color
3.2 Icon
3.3 Icon color
3.4 Icon size
3.5 Icon shake effect
3.6 Title of the notification
3.7 Title color
3.8 Title font size
3.9 Message of the notification
3.10 Color of the message
3.11 Message font size
3.12 Image or GIF
3.13 Progress bar color
3.14 Progress bar height
3.15 Notification sound
3.16 Sound volume
3.17 Counter color
3.18 Counter font size
3.19 Time of the notification
3.20 Adding transparency to the notification
Example of a notification with those parameters:
4.Send notification server side
5.Replace QBCore notifications for Dynasty Notifications
6.Replace ESX notifications for Dynasty Notifications
7.Additional notification examples
Last updated
