Ready Notify.lua
We've made it easy for you and edited notify.lua for some of you.
RegisterNetEvent('thug-deathcam:client:notify', function(notifytext, notifytype)
TriggerEvent('esx:showNotification', notifytext, notifytype, 3000)
end)
Config.Notify_Settings = {
['Info_Type'] = "info",
['Succes_Type'] = "success",
['Error_Type'] = "error",
}
QBCore = exports['qb-core']:GetCoreObject()
RegisterNetEvent('thug-deathcam:client:notify', function(notifytext, notifytype)
QBCore.Functions.Notify(notifytext, notifytype, 3000)
end)
Config.Notify_Settings = {
['Info_Type'] = "primary",
['Succes_Type'] = "success",
['Error_Type'] = "error",
}
RegisterNetEvent('thug-deathcam:client:notify', function(notifytext, notifytype)
lib.notify({
title = 'Thug Hour Prizes',
description = notifytext,
type = notifytype
})
end)
Config.Notify_Settings = {
['Info_Type'] = "inform",
['Succes_Type'] = "success",
['Error_Type'] = "error",
}
RegisterNetEvent('thug-deathcam:client:notify', function(notifytext, notifytype)
exports['okokNotify']:Alert('Thug Hour Prizes', notifytext, 3000, notifytype)
end)
Config.Notify_Settings = {
['Info_Type'] = "info",
['Succes_Type'] = "success",
['Error_Type'] = "error",
}
Last updated