Tile - YUi - Show Warning – Ylands
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 | 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 | Will '''show''' a '''warning''' text to a specific '''player'''. | ||
Revision as of 11:15, 12 November 2021
Show Warning(Text)
static showWarning(warning: any): void;
Parameters
warning
Text to show
Availability
Description
Will show a warning text to all players.
Show Warning(Player, Text)
static showWarning(player: YCharacter, warning: any): void;
Parameters
player
Target player
warning
Text to show
Availability
Description
Will show a warning text to a specific player.