From bbd0a577c9bdd0d04987ae451cbefef1c7453876 Mon Sep 17 00:00:00 2001 From: Kenshin13 <63159154+Kenshiin13@users.noreply.github.com> Date: Sun, 31 Aug 2025 14:48:53 +0200 Subject: [PATCH] fix(es_extended/client/functions): add export default values Apparently, passing leading nil values via an export breaks it entirely. --- [core]/es_extended/client/functions.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/[core]/es_extended/client/functions.lua b/[core]/es_extended/client/functions.lua index 535c24e7..b665f346 100644 --- a/[core]/es_extended/client/functions.lua +++ b/[core]/es_extended/client/functions.lua @@ -157,7 +157,7 @@ end ---@param position? string The position of the notification ---@return nil function ESX.ShowNotification(message, notifyType, length, title, position) - return IsResourceFound('esx_notify') and exports['esx_notify']:Notify(notifyType, length, message, title, position) + return IsResourceFound('esx_notify') and exports['esx_notify']:Notify(notifyType or "info", length or 5000, message, title, position) end function ESX.TextUI(...)