Tile - YUi - Show Warning – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 10: Line 10:


==== warning ====
==== warning ====
Text to show
=== Availability ===
[[Ylands:Tile Availability - Server|Server]]


=== Description ===
=== Description ===


Will '''show''' a '''warning''' text either to all '''players'''.
Will '''show''' a '''warning''' text to all '''players'''.


== Show Warning(Player, Text) ==
== Show Warning(Player, Text) ==
Line 23: Line 29:


==== player ====
==== player ====
Target player


==== warning ====
==== warning ====
Text to show
=== Availability ===
[[Ylands:Tile Availability - Server|Server]]


=== Description ===
=== Description ===


Will '''show''' a '''warning''' text either to a specific '''player'''.
Will '''show''' a '''warning''' text to a specific '''player'''.





Revision as of 11:15, 12 November 2021

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.