GetPlayerClothingByIdentifier

Gets player clothing by framework identifier


Params

Name
Optional
Example

identifier

no

char1:xxx

Usage

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

local clothingData = api.GetPlayerClothingByIdentifier("char1:xxx")
local clothingData = exports["bb_inventory"]:GetPlayerClothingByIdentifier("char1:xxx")

print(clothingData)
---[
---    {
---        "textureId": 0,
---        "componentId": 11,
---        "type": "COMPONENT",
---        "model": "mp_m_freemode_01",
---        "drawableId": 14,
---        "dlc": "mp_m_heist3"
---    },
---    {
---        "textureId": 5,
---        "componentId": 1,
---        "type": "PROP",
---        "model": "mp_m_freemode_01",
---        "drawableId": 1,
---        "dlc": "mp_m_bikerdlc_01"
---    }
---    ...
---]

Last updated