openInventory

Bridge.openInventory(playerId, inventoryType, inventoryData)

Arguments

  • playerId (number): The ID of the player.

  • inventoryType (string): The type of the inventory.

  • inventoryData (table): The data of the inventory.

Returns

  • result (boolean): The result of the inventory opening operation.

Example Usage

local result = Bridge.openInventory(123, "trunk", {})

print("Inventory Opened: " .. tostring(result))

Return Structure

If operation is successful:

true

If operation is not successful:

false

Last updated