Tile - YUi - Show Warning – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Ylands scripting navbox}}" to "{{Ylands editor navbox}}")
m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}")
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Image:Ylands_Tile_-_Show_warning.png]]
<!---
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE.
-->
== Show Warning(Player, Text) ==


[[Image:Ylands_Tile_-_Show_Warning_Example.png]]
<pre>static showWarning(player: YCharacter, warning: any): void;</pre>
*Will '''show''' a '''warning''' text either to all '''players''' '''or''' a specific '''player'''.
=== Parameters ===
 
==== player ====
 
Target player
 
==== warning ====
 
Text to show
 
=== Availability ===
 
[[Ylands:Tile Availability - Server|Server]]
 
=== Description ===
 
Will '''show''' a '''warning''' text to a specific '''player'''.
 
== Show Warning(Text) ==
 
<pre>static showWarning(warning: any): void;</pre>
=== Parameters ===
 
==== warning ====
 
Text to show
 
=== Availability ===
 
[[Ylands:Tile Availability - Server|Server]]
 
=== Description ===
 
Will '''show''' a '''warning''' text to all '''players'''.




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


[[Category: Instructions]]
[[Category: Instructions]]
[[Category: Ylands 0.10]]

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.