update en docs

This commit is contained in:
Xertis 2026-03-16 00:56:06 +03:00
parent 8ae35c0a5e
commit 4ee97434a2

View file

@ -54,6 +54,9 @@ hud.close(layoutid: str)
-- Get open block inventory ID or 0.
hud.get_block_inventory() -> int
-- Gives the ID of the second open inventory (block, virtual inventory...) or 0.
hud.get_second_inventory() -> int
-- Gives the ID of the player that the UI is bound to.
hud.get_player() -> int
@ -69,6 +72,9 @@ hud.is_paused() -> bool
-- Returns true if inventory is open or overlay is shown.
hud.is_inventory_open() -> bool
-- Returns true if the player's inventory is open.
hud.is_player_inventory_open() -> boolean
-- Sets whether to allow pausing. If false, the pause menu will not pause the game.
hud.set_allow_pause(flag: bool)