Default Notifications
The notification system is designed to display messages that pop up above the minimap, ensuring they are noticeable and non-intrusive during gameplay.
Add
local serial = exports['ZSX_UIV2']:DefaultNotification(data)-- Example with header
local data = {
header = 'fas fa-envelope',
text = 'My default notification'
}
-- Example without header
local data = {
text = 'My default notification'
}
local data = {
header = {
text = 'RESPECT',
color = "#ee1c3e",
icon = 'fas fa-chevron-down'
},
text = 'Your respect is low!'
}
-- Example with header as image (url)
local data = {
header = 'https://r2.fivemanage.com/9fHGnEBEfnR89IeQ0njaD/Vector4.png',
text = 'My default notification with image!'
}Key
Value
Optional
Header object
key
value
Optional
Remove
Progress
Last updated