6 lines
549 B
Lua
6 lines
549 B
Lua
---@diagnostic disable: missing-return, lowercase-global
|
|
|
|
---@param container number
|
|
---@return number inventoryID
|
|
---Returns the inventoryID corresponding to a given containerID. The results of this function can be used with GetInventorySlotInfo() and other related inventory functions. It seemingly does not work with containers that are considered special, like backpack, bank or reagent bank (anymore?)! Calling this method for those containerIDs will result in an "invalid container ID" error.
|
|
function ContainerIDToInventoryID(container) end |