ShowHelpNotification
Client
exports['PNotifv2']:ShowHelpNotification('Press ~INPUT_PICKUP~ to pick up', true, 'white')TriggerEvent('pnotifv2:showHelpNotification', 'Press ~INPUT_PICKUP~ to pick up', true, 'white')TriggerEvent('esx:showHelpNotification', 'Press ~INPUT_PICKUP~ to pick up', true, 'white')ESX.ShowHelpNotification('Press ~INPUT_PICKUP~ to pick up', true)QBCore.Functions.ShowHelpNotification('~g~Press~s~ ~INPUT_PICKUP~ to talk to the contact', true)Integrate ESX
ESX.ShowHelpNotification = function(msg, thisFrame, beep, duration)
AddTextEntry('esxHelpNotification', msg)
if thisFrame then
DisplayHelpTextThisFrame('esxHelpNotification', false)
else
if beep == nil then beep = true end
BeginTextCommandDisplayHelp('esxHelpNotification')
EndTextCommandDisplayHelp(0, false, beep, duration or -1)
end
endIntegrate QBCore
Last updated