NotificationService
Noir.Services.NotificationService: NoirService
A service for sending notifications to players.
Noir.Services.NotificationService:Notify(title, message, notificationType, player, ...)Notify a player or multiple players.
Parameters
title: stringmessage: stringnotificationType: SWNotificationTypeEnumplayer: NoirPlayer|table<integer, NoirPlayer>|nil...: any
Noir.Services.NotificationService:Success(title, message, player, ...)Send a success notification to a player.
Parameters
title: stringmessage: stringplayer: NoirPlayer|table<integer, NoirPlayer>|nil...: any
Send a warning notification to a player.
Parameters
title: stringmessage: stringplayer: NoirPlayer|table<integer, NoirPlayer>|nil...: any
Send an error notification to a player.
Parameters
title: stringmessage: stringplayer: NoirPlayer|table<integer, NoirPlayer>|nil...: any
Send an info notification to a player.
Parameters
title: stringmessage: stringplayer: NoirPlayer|table<integer, NoirPlayer>|nil...: any
Last updated