fix(es_extended/client/functions): add export default values

Apparently, passing leading nil values via an export breaks it entirely.
This commit is contained in:
Kenshin13
2025-08-31 14:48:53 +02:00
committed by _Not_
parent 3fa0d304d4
commit 08bffc7f4d
+1 -1
View File
@@ -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(...)