fix: mythic_notify
This commit is contained in:
1 parent
6cbb5a72f7
commit
b8bc4f24d3
1 file changed
+2
-2
@@ -6,8 +6,8 @@ Notify.SendNotify = function(message, type, time)
|
|||||||
time = time or 3000
|
time = time or 3000
|
||||||
if notifyType == 'qb' then
|
if notifyType == 'qb' then
|
||||||
return TriggerEvent('QBCore:Notify', message, 'primary', time)
|
return TriggerEvent('QBCore:Notify', message, 'primary', time)
|
||||||
elseif notifyType == 'mythic_notify' then
|
elseif notifyType == 'mythic' then
|
||||||
return exports['mythic']:SendAlert('inform', message, time)
|
return exports['mythic_notify']:SendAlert('inform', message, time)
|
||||||
elseif notifyType == 'pNotify' then
|
elseif notifyType == 'pNotify' then
|
||||||
return exports['pNotify']:SendNotification({ text = message, type = type, timeout = time, layout = 'centerRight' })
|
return exports['pNotify']:SendNotification({ text = message, type = type, timeout = time, layout = 'centerRight' })
|
||||||
elseif notifyType == 'esx' then
|
elseif notifyType == 'esx' then
|
||||||
|
|||||||
Reference in new issue
Block a user