Tile - YUi - Show Warning – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE.
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE.
-->
-->
== Show Warning(Text) ==
== Show Warning(Player, Text) ==
 
<pre>static showWarning(player: YCharacter, warning: any): void;</pre>
=== Parameters ===


[[File:YlandsTile-255.png]]
==== player ====


<pre>static showWarning(warning: any): void;</pre>
Target player
=== Parameters ===


==== warning ====
==== warning ====
Line 19: Line 21:
=== Description ===
=== Description ===


Will '''show''' a '''warning''' text to all '''players'''.
Will '''show''' a '''warning''' text to a specific '''player'''.


== Show Warning(Player, Text) ==
== Show Warning(Text) ==


[[File:YlandsTile-254.png]]
<pre>static showWarning(warning: any): void;</pre>
 
<pre>static showWarning(player: YCharacter, warning: any): void;</pre>
=== Parameters ===
=== Parameters ===
==== player ====
Target player


==== warning ====
==== warning ====
Line 42: Line 38:
=== Description ===
=== Description ===


Will '''show''' a '''warning''' text to a specific '''player'''.
Will '''show''' a '''warning''' text to all '''players'''.





Revision as of 16:31, 30 March 2022

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.