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