Tile - YUi - Disable Hud – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search

Disable Hud(Player, Component, Disable)

YlandsTile-687.png

static disableHud(player: YCharacter, HUD: YHudElementType, disable: boolean): void;

Parameters

player

Target player

HUD

Target HUD component

disable

Whether the component is disabled or enabled

Availability

Server, Not in Edu

Description

Allows to enable/disable* HUD component for specific player.