update doc/*/scripting/builtins/libhud.md
This commit is contained in:
parent
db05527fcf
commit
50cd4f98d9
@ -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
|
||||
|
||||
@ -20,6 +20,10 @@ hud.open(
|
||||
[опционально] invid: int
|
||||
) -> int
|
||||
|
||||
-- Возвращает true если указаный макет UI открыт.
|
||||
hud.is_open(
|
||||
layoutid: str
|
||||
) -> bool
|
||||
|
||||
-- Открывает инвентарь и UI блока.
|
||||
-- Если блок не имеет макета UI - бросается исключение.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user