Blue Byte Documentation
  • Home
  • Scripts
    • Advanced Inventory
      • Installation
      • Migration
      • Temporary Inventories
      • API
        • Client Exports
          • GetAPI
          • GetItems
          • GetItem
          • IsInventoryOpen
          • DisableInventory
          • IsInventoryDisabled
          • RefreshClothing
          • GetPlayerInventory
          • SetDrawAnimation
          • ResetDrawAnimation
          • GetPlayerItemCount
          • AccessInventory
          • GetCurrentWeapon
        • Server Exports
          • GetAPI
          • GetItems
          • GetItem
          • GetPlayerInventory
          • ClearPlayerInventory
          • ClearPlayerClothing
          • AddPlayerItem
          • SetPlayerClothing
          • SetPlayerClothingFromCurrentComponents
          • RemovePlayerItem
          • CanPlayerCarryItem
          • GetPlayerItemCount
          • AddPlayerWeapon
          • RegisterUsableItem
          • SetItemMetadata
          • GetPlayerClothingByIdentifier
          • RemoveInventoryItemById
          • RemoveInventoryItemBySlot
          • GetInventoryItemById
          • GetPlayerItemById
          • CreateInventory
          • LoadInventoryByIdentifier
          • RegisterTemporaryInventoryHandler
          • ClearInventoryById
          • SearchPlayer
    • Simple Garage
    • Simple Tattoostudio
Powered by GitBook
On this page
  • Params
  • Usage
  1. Scripts
  2. Advanced Inventory
  3. API
  4. Server Exports

SetPlayerClothingFromCurrentComponents

Gets the clothing the player is currently wearing & add them to they're inventory


Params

Name
Optional
Example

source

no

1

Usage

local api = exports["bb_inventory"]:GetAPI()

local successful = api.SetPlayerClothingFromCurrentComponents(1)
local successful = exports["bb_inventory"]:SetPlayerClothingFromCurrentComponents(1)

print(successful)
--- true

PreviousSetPlayerClothingNextRemovePlayerItem

Last updated 18 days ago