getShopPedApparelForcedPropCount
GET_SHOP_PED_APPAREL_FORCED_PROP_COUNT0x017568A8182D98A6The GTA V native GET_SHOP_PED_APPAREL_FORCED_PROP_COUNT of the EXTRAMETADATA namespace, as LS:MP client scripts call it: the global function getShopPedApparelForcedPropCount, in JavaScript and in Lua.
getShopPedApparelForcedPropCount(componentHash: Hash): numbergetShopPedApparelForcedPropCount(componentHash: Hash): integerUsage
JavaScript
const result = getShopPedApparelForcedPropCount(componentHash);Lua
local result = getShopPedApparelForcedPropCount(componentHash)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
componentHash | Hash | number | integer |
Returns
int JavaScript number, Lua integerNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Returns number of possible values of the forcedPropIndex argument of getForcedProp.
Reference
- Namespace
- Shop metadata EXTRAMETADATA
- In the game
int GET_SHOP_PED_APPAREL_FORCED_PROP_COUNT(Hash componentHash)- Hash
0x017568A8182D98A6