Server
These exports can only be used on the server-side. Make sure to use them in your server-side script files.
SendNotification
exports.it_bridge:SendNotification(source, title, message, time, type, sound)
- source:
number
: The player's server ID. - title:
string
: The notification title. - message:
string
: The notification message. - time:
number
: The notification display time in milliseconds. - type:
string
: The notification type. Can beSuccess
,Info
,Warning
, orError
. - sound:
boolean
: If the notification should play a sound.
Sends a notification with the specified data.
Example
exports.it_bridge:SendNotification(source, 'Title', 'Message', 5000, 'Info', true)