update doc/*/scripting/builtins/libhud.md

This commit is contained in:
MihailRis 2025-11-09 23:13:59 +03:00
parent db05527fcf
commit 50cd4f98d9
2 changed files with 10 additions and 0 deletions

View File

@ -20,6 +20,12 @@ hud.open(
[optional] invid: int
) -> int
-- Returns true if specified layout is open.
hud.is_open(
layoutid: str
) -> bool
-- Open block UI and inventory.
-- Throws an exception if block has no UI layout.
-- Returns block inventory ID (if *"inventory-size"=0* a virtual

View File

@ -20,6 +20,10 @@ hud.open(
[опционально] invid: int
) -> int
-- Возвращает true если указаный макет UI открыт.
hud.is_open(
layoutid: str
) -> bool
-- Открывает инвентарь и UI блока.
-- Если блок не имеет макета UI - бросается исключение.