Notifications
Change the notify function in the config file:
function notify(msg, type)
TriggerEvent('zcmg_advanced-notify:open', Config.Translation[Config.Language].NotificationTitle, msg, 5000, type)
endESX default notification
function notify(msg, type)
ESX.ShowNotification(msg, type)
endox_lib notification
function notify(msg, type)
lib.notify({
title = Config.Translation[Config.Language].NotificationTitle,
description = msg,
type = type
})
end Variables:
msg: Notification message
type: Notification type
error
success
Last updated