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) end)
RegisterNetEvent('esx:showNotification') RegisterNetEvent('esx:showNotification')
AddEventHandler('esx:showNotification', function(msg) AddEventHandler('esx:showNotification', function(msg, type, length)
ESX.ShowNotification(msg) ESX.ShowNotification(msg, type, length)
end) end)
RegisterNetEvent('esx:showAdvancedNotification') RegisterNetEvent('esx:showAdvancedNotification')