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}}}}")
 
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
[[Image:Ylands_Tile_-_Show_warning.png]]
<!---
*Will '''show''' a '''warning''' text either to all '''players''' '''or''' a specific '''player'''.
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE.
-->
== Show Warning(Player, Text) ==
 
<pre>static showWarning(player: YCharacter, warning: any): void;</pre>
=== 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 scripting navbox}}
{{Navbox/Ylands}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}
 
[[Category: Instructions]]

Latest revision as of 15: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.