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(...)