mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 01:08:54 +00:00
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:
@@ -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(...)
|
||||
|
||||
Reference in New Issue
Block a user