Tile - YUi - Show Warning – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search

Show Warning(Player, Text)

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

Parameters

player

Target player

warning

Text to show

Availability

Server

Description

Will show a warning text to a specific player.

Show Warning(Text)

static showWarning(warning: any): void;

Parameters

warning

Text to show

Availability

Server

Description

Will show a warning text to all players.