Tile - YUi - Disable Character Tab – 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}}}}")
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Image:Ylands_CharacterTab.jpg]]
<!---
*Allows to disable tabs in scenario: inventory, crafting, blueprints, costumes, pets.
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE.
*Select player for which tabs will be disabled
-->
== Disable Character Tab(Player, Tab, Disable) ==


[[File:YlandsTile-689.png]]


<pre>static disableCharacterTab(player: YCharacter, Tab: YUiCharacterTab, disable: boolean): void;</pre>
=== Parameters ===


==== player ====
Target player
==== Tab ====
Target character tab
==== disable ====
Whether the tab is disabled or enabled
=== Availability ===
[[Ylands:Tile Availability - Server|Server]], [[Ylands:Tile Availability - Not in Edu|Not in Edu]]
=== Description ===
Allows to ''enable/disable''* character tab for '''specific player'''.




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


[[Category: Instructions]]
[[Category: Instructions]]
[[Category: Ylands 0.14]]

Latest revision as of 15:35, 24 November 2023

Disable Character Tab(Player, Tab, Disable)

YlandsTile-689.png

static disableCharacterTab(player: YCharacter, Tab: YUiCharacterTab, disable: boolean): void;

Parameters

player

Target player

Tab

Target character tab

disable

Whether the tab is disabled or enabled

Availability

Server, Not in Edu

Description

Allows to enable/disable* character tab for specific player.