Replace default notifications
Event
AddEventHandler("robberies_creator:notify", function(message, uncoloredMessage)
end)Parameters
Name
Data Type
Description
Example
RegisterNetEvent("robberies_creator:framework:ready", function()
-- Disables the default script notification (otherwise there would be 2 notifications)
exports["robberies_creator"]:disableScriptEvent("robberies_creator:notify")
end)
RegisterNetEvent("robberies_creator:notify", function(message, uncoloredMessage)
TriggerEvent("external_script:notify", message)
-- OR if you DON'T want ~r~, ~g~ you can use
--TriggerEvent("external_script:notify", uncoloredMessage)
end)Where to insert the code?
Last updated