From 2b4a2071d513d43a3296af5dd09d7b5545a1356b Mon Sep 17 00:00:00 2001 From: izMystic Date: Sun, 8 May 2022 08:23:55 -0400 Subject: [PATCH] udpate(notify): allow passing type/length --- [esx]/es_extended/client/functions.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/[esx]/es_extended/client/functions.lua b/[esx]/es_extended/client/functions.lua index 1faf82d8..7f7113e2 100644 --- a/[esx]/es_extended/client/functions.lua +++ b/[esx]/es_extended/client/functions.lua @@ -1131,8 +1131,8 @@ AddEventHandler('esx:serverCallback', function(requestId, ...) end) RegisterNetEvent('esx:showNotification') -AddEventHandler('esx:showNotification', function(msg) - ESX.ShowNotification(msg) +AddEventHandler('esx:showNotification', function(msg, type, length) + ESX.ShowNotification(msg, type, length) end) RegisterNetEvent('esx:showAdvancedNotification')