Notify — Server
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 a specific player from the server.
Bridge.Notify.SendNotification(src, title, message, type, time, props)| Parameter | Type | Description |
|---|---|---|
| src | number | Player server ID |
| 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) |
Deprecated
SendNotify
Use
SendNotificationinstead.
Bridge.Notify.SendNotify(src, title, message, type, time, props)