Merge pull request #248 from izMystic/main

udpate(notify): allow passing type/length
This commit is contained in:
Mycroft
2022-05-08 14:02:24 +01:00
committed by GitHub
+2 -2
View File
@@ -1131,8 +1131,8 @@ AddEventHandler('esx:serverCallback', function(requestId, ...)
end)
RegisterNetEvent('esx:showNotification')
AddEventHandler('esx:showNotification', function(msg)
ESX.ShowNotification(msg)
AddEventHandler('esx:showNotification', function(msg, type, length)
ESX.ShowNotification(msg, type, length)
end)
RegisterNetEvent('esx:showAdvancedNotification')