getShopPedApparelVariantComponentCount
GET_SHOP_PED_APPAREL_VARIANT_COMPONENT_COUNT0xC17AD0E5752BECDAThe GTA V native GET_SHOP_PED_APPAREL_VARIANT_COMPONENT_COUNT of the EXTRAMETADATA namespace, as LS:MP client scripts call it: the global function getShopPedApparelVariantComponentCount, in JavaScript and in Lua.
getShopPedApparelVariantComponentCount(componentHash: Hash): numbergetShopPedApparelVariantComponentCount(componentHash: Hash): integerUsage
JavaScript
const result = getShopPedApparelVariantComponentCount(componentHash);Lua
local result = getShopPedApparelVariantComponentCount(componentHash)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
componentHash | Hash | number | integer |
Returns
int JavaScript number, Lua integerReference
- Namespace
- Shop metadata EXTRAMETADATA
- In the game
int GET_SHOP_PED_APPAREL_VARIANT_COMPONENT_COUNT(Hash componentHash)- Hash
0xC17AD0E5752BECDA