Replace default notifications
Event
AddEventHandler("drugs_creator:notify", function(message, coloredMessage)
end)Parameters
Name
Data Type
Description
Example
RegisterNetEvent("drugs_creator:framework:ready", function()
-- Disables the default script notification (otherwise there would be 2 notifications)
exports["drugs_creator"]:disableScriptEvent("drugs_creator:notify")
end)
RegisterNetEvent("drugs_creator:notify", function(message, coloredMessage)
TriggerEvent("external_script:notify", message)
end)Where to insert the code?
Last updated