Tile - YUi - Show Warning – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}")
 
(One intermediate revision by one other user not shown)
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'''.




----
----
{{Navbox/Ylands}}
{{Navbox/Ylands}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}


[[Category: Instructions]]
[[Category: Instructions]]

Latest revision as of 14:35, 24 November 2023

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.