udpate(notify): allow passing type/length

This commit is contained in:
izMystic
2022-05-08 08:23:55 -04:00
parent 7b90018930
commit 2b4a2071d5
+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')