mirror of
https://github.com/ND-Framework/ND_Core.git
synced 2026-11-20 02:58:35 +00:00
update: notification reosurces
This commit is contained in:
1 parent
858e5e98a2
commit
0baadda7b0
1 file changed
+5
-1
+5
-1
@@ -216,7 +216,11 @@ local function createCharacterTable(info)
|
||||
|
||||
function self.notify(...)
|
||||
if not self.source then return end
|
||||
TriggerClientEvent("ox_lib:notify", self.source, ...)
|
||||
if GetResourceState("ModernHUD") == "started" then
|
||||
TriggerClientEvent("ModernHUD:notify", self.source, ...)
|
||||
elseif GetResourceState("ox_lib") == "started" then
|
||||
TriggerClientEvent("ox_lib:notify", self.source, ...)
|
||||
end
|
||||
return true
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user