Insert HUD Notifys into es_extended

This is a short and simple guide that explains how to set up our notifications in your es_extended

Notifys

Search in the es_extended/client/functions.lua for this function:

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

Replace the old one with this

function ESX.ShowNotification(message, notifyType, length, titleNotify, name, ID)
    notifyType  = notifyType  or "info"
    titleNotify = titleNotify or "Notify"
    length      = length      or 5000

    exports["S-HUDv2"]:DisplayNotify(
        notifyType,
        titleNotify,
        message,
        length,
        name,
        ID
    )
end

Help Notify

Search in the es_extended/client/functions.lua for this function:

Replace the old one with this

Progress Bar

Search in the es_extended/client/functions.lua for this function:

Replace the old one with this

Text UI

Search in the esx_textui/TextUI.lua for this function:

Replace the old one with this

Hide Text UI

Search in the esx_textui/TextUI.lua for this function:

Replace the old one with this

Last updated