Bridge

Here you will find a guide on how to bridge some resources from the FiveM community for the interface.

Notify

Go to es_extended/client/functions.lua and modify function ESX.ShowNotification

function ESX.ShowNotification(message, notifyType, length, title, position)
	return exports["UrantixInterface"]:Notify({
			title = title,
			text = message,
			type = notifyType,
			duration = duration
  })
end

TextUI

Go to es_extended/client/functions.lua and modify function ESX.ShowHelpNotification

function ESX.ShowHelpNotification(msg, thisFrame, beep, duration)
    return exports["UrantixInterface"]:showTextUI({
        CloseAuto = true,
        Text = msg,
        Key = 'E',
        ID = 'atm',
    })
end

Last updated