Tile - YUi - Show Notification – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search

Show Notification(Text, Notification type)

YlandsTile-1340.png

static showNotification(text: any, notificationType: YNotificationType): void;

Parameters

text

notificationType

Availability

Server

Description

Will show a notification text to all players.

Show Notification(Player, Text, Notification type)

YlandsTile-1339.png

static showNotification(player: YCharacter, text: any, notificationType: YNotificationType): void;

Parameters

player

text

notificationType

Availability

Server

Description

Will show a notification text to a specific player.