fix:('added title parameter to ESX.ShowNotification.

This commit is contained in:
zlexif
2025-05-08 21:53:34 +03:00
parent 59d2e9a839
commit 7d61f378e2
+3 -2
View File
@@ -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(...)