Exports
Export Function
You can also trigger notifications from other scripts using the export function.
Syntax:
luaCopy codeexports['b2_notifyv2']:ShowNotification(title, message, duration, type, position)
Example:
luaCopy codeexports['b2_notifyv2']:ShowNotification("Test Title", "This is a test message", 5000, "success", "top-right")
Last updated