mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 01:01:22 +00:00
Merge pull request #248 from izMystic/main
udpate(notify): allow passing type/length
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user