add docs for get_exchange_inventory

This commit is contained in:
neveix 2026-08-14 01:46:35 +05:00
parent 39f7f29e88
commit 6a486af6ab
2 changed files with 10 additions and 1 deletions

View file

@ -57,6 +57,10 @@ hud.get_block_inventory() -> int
-- Gives the ID of the second open inventory (block, virtual inventory...) or 0.
hud.get_second_inventory() -> int
-- Get the inventory ID of exchange item (grabbed item in inventory) or 0.
-- It has only one slot - 0
hud.get_exchange_inventory() -> int
-- Gives the ID of the player that the UI is bound to.
hud.get_player() -> int