Usage

This script doesn't require any usage instructions after set up, however if you want to add the event triggers into other script then we have provided some simple code to add below


Event Triggers

Server Sided Code

exports['SG_Notifications']:NotifySuccess(playerId, 'Title', 'Message', 5000)
exports['SG_Notifications']:NotifyError(playerId, 'Title', 'Message', 5000)
exports['SG_Notifications']:NotifyWarning(playerId, 'Title', 'Message', 5000)
exports['SG_Notifications']:NotifyInfo(playerId, 'Title', 'Message', 5000)

Client Sided Code

exports['SG_Notifications']:ShowSuccess('Title', 'Message', 5000)
exports['SG_Notifications']:ShowError('Title', 'Message', 5000)
exports['SG_Notifications']:ShowWarning('Title', 'Message', 5000)
exports['SG_Notifications']:ShowInfo('Title', 'Message', 5000)

Last updated