Tile - YUi - Show Warning – Ylands

From Bohemia Interactive Community
Revision as of 11:15, 12 November 2021 by YlandsClassyBot (talk | contribs)
Jump to navigation Jump to search

Show Warning(Text)

YlandsTile-255.png

static showWarning(warning: any): void;

Parameters

warning

Text to show

Availability

Server

Description

Will show a warning text to all players.

Show Warning(Player, Text)

YlandsTile-254.png

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.