Notify — Client
GetResourceName
Returns the notify resource name.
local name = Bridge.Notify.GetResourceName()
-- Returns: string (always "default")Description:
Returns the name of the Notify module resource. Used for internal identification. Always returns "default" for the built-in Notify module.
SendNotification
Sends a notification to the local player.
Bridge.Notify.SendNotification(title, message, type, time, props)| Parameter | Type | Description |
|---|---|---|
| title | string | Notification title |
| message | string | Notification message |
| type | string | Type: 'success', 'error', 'info', 'warning' |
| time | number | Duration in milliseconds |
| props | table | Additional properties (optional, resource-specific) |
Deprecated
SendNotify
Use
SendNotificationinstead.
Bridge.Notify.SendNotify(title, message, type, time, props)