Skip to content

Commit

Permalink
Update functions.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
wildesPepega authored Feb 15, 2024
1 parent d6e6893 commit 205d1e9
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions [core]/es_extended/client/functions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,10 @@ function ESX.Progressbar(message, length, Options)
print("[^1ERROR^7] ^5ESX Progressbar^7 is Missing!")
end

function ESX.ShowNotification(message, notifyType, length)
if GetResourceState("esx_notify") ~= "missing" then
return exports["esx_notify"]:Notify(notifyType, length, message)
end

print("[^1ERROR^7] ^5ESX Notify^7 is Missing!")
function ESX.ShowNotification(message)
SetNotificationTextEntry("STRING")
AddTextComponentString(message)
DrawNotification(0, 1)
end

function ESX.TextUI(message, notifyType)
Expand Down

0 comments on commit 205d1e9

Please sign in to comment.