Turbo simple replacement for basic help notify, if you find any bugs, report them to me as im still learning front end, thank you
USAGE
exports[‘dHelpNotify’]:HelpNotify({key = ‘E’, title = ‘Press’, description = ‘to show boss menu’}) – shows help notify
exports[‘dHelpNotify’]:CloseNotify() – hides the notification
04/08/2023
Fixed a bug with “No Key in the Config”
Added sound effect to the notify pop up
07/08/2023
Replacement for ESX.ShowHelpNotification:
You should manually rewrite all your previous help notifications in order to work properly. Also for now it only displays one key, so if you use ESX.ShowHelpNotification that displays more than one key, then you should change it to some other notify, or simply do not replace the help notification with my script.
ESX.ShowHelpNotification = function(key, title, description)
exports['dHelpNotify']:HelpNotify({key = key or 'E', title = title or 'Press', description = description or 'to do something special'})
end
RegisterNetEvent('esx:showHelpNotification')
AddEventHandler('esx:showHelpNotification', function(key, title, description)
ESX.ShowHelpNotification(key, title, description)
end)
IN ORDER TO PROPERLY REMOVE NOTIFICATION FROM THE SCREEN, USE FUNCTION CloseNotify()
Code is accessible | Yes |
Subscription-based | No |
Lines (approximately) | < 200 |
Requirements | Requirements |
Support | No |