localfunctionmyCustomHelpNotification(message)-- Customize your function to fit your needsprint(message) ExternalScript.showHelpNotification(message)endRegisterNetEvent("drugs_creator:framework:ready", function() -- This will replace the base function with the one you want exports["drugs_creator"]:replaceShowHelpNotification(myCustomHelpNotification)end)
Where to insert the code?
You can place it in the file integrations/cl_integrations.lua of the script, at the bottom of the file on new lines
customFunction
function
A function that will replace the default ESX.ShowHelpNotification method. Requires the message parameter and will be called each frame