ESX Function

There you have snippet code for change esx framework notify to ug-notification

Open es_extended/client/function.lua

Find ESX.ShowNotification and change

From

function ESX.ShowNotification(message, notifyType, length)
	exports['esx_notify']:Notify(notifyType, length, message)
end

To

function ESX.ShowNotification(message, notifyType, length)
    exports['ug-notify']:Notify(notifyType or 'info', message, length or 5000)
end

Save and restart server :)

if you have problems with something then come to discord (https://discord.gg/dXDkTjtdDU)

Last updated