mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-04 16:23:21 +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)
|
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')
|
||||||
|
|||||||
Reference in New Issue
Block a user