Client
These exports can only be used on the client-side. Make sure to use them in your client-side script files.
SendNotification
exports.it_bridge:SendNotification(title. message, time, type, sound)
- 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('Title', 'Message', 5000, 'Info', true)