mirror of
https://github.com/ND-Framework/ND_Core.git
synced 2026-08-17 05:56:01 +01:00
update: notification reosurces
This commit is contained in:
@@ -216,7 +216,11 @@ local function createCharacterTable(info)
|
|||||||
|
|
||||||
function self.notify(...)
|
function self.notify(...)
|
||||||
if not self.source then return end
|
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
|
return true
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user