From 7d61f378e2d2520cf4575674e29ca7919ffe0f17 Mon Sep 17 00:00:00 2001 From: zlexif <146517988+auradevelopment5m@users.noreply.github.com> Date: Thu, 8 May 2025 21:53:34 +0300 Subject: [PATCH] fix:('added title parameter to ESX.ShowNotification. --- [core]/es_extended/client/functions.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/[core]/es_extended/client/functions.lua b/[core]/es_extended/client/functions.lua index 8a577e7e..1ad0edc3 100644 --- a/[core]/es_extended/client/functions.lua +++ b/[core]/es_extended/client/functions.lua @@ -152,9 +152,10 @@ end ---@param message string The message to show ---@param notifyType? string The type of notification to show ---@param length? number The length of the notification +---@param title? string The title of the notification ---@return nil -function ESX.ShowNotification(message, notifyType, length) - return IsResourceFound('esx_notify') and exports['esx_notify']:Notify(notifyType, length, message) +function ESX.ShowNotification(message, notifyType, length, title) + return IsResourceFound('esx_notify') and exports['esx_notify']:Notify(notifyType, length, message, title) end function ESX.TextUI(...)