mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-04 16:23:21 +00:00
Merge branch 'main' of https://github.com/esx-framework/esx-legacy
This commit is contained in:
@@ -84,9 +84,14 @@ function ESX.Progressbar(message, length, Options)
|
||||
end
|
||||
|
||||
function ESX.ShowNotification(message, type, length)
|
||||
exports["esx_notify"]:Notify(message, length, type)
|
||||
end
|
||||
|
||||
if GetResourceState("esx_notify") ~= "missing" then
|
||||
exports["esx_notify"]:Notify(type, length, message)
|
||||
else
|
||||
print("[ERROR] Missing esx_notify")
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
function ESX.TextUI(message, type)
|
||||
if GetResourceState("esx_textui") ~= "missing" then
|
||||
exports["esx_textui"]:TextUI(message, type)
|
||||
|
||||
@@ -73,5 +73,4 @@ files {
|
||||
dependencies {
|
||||
'oxmysql',
|
||||
'spawnmanager',
|
||||
'esx_notify',
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user