Tile - YUi - Show Warning – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search

Show Warning(Text)

YlandsTile-255.png

static showWarning(warning: any): void;

Parameters

warning

Description

Will show a warning text either to all players.

Show Warning(Player, Text)

YlandsTile-254.png

static showWarning(player: YCharacter, warning: any): void;

Parameters

player

warning

Description

Will show a warning text either to a specific player.