_GET_SHOP_ITEM_WEARABLE_STATE_BY_INDEX
Gets an available wearable state by index for a shop item / component - it does not retreive what the current state is. p3 seems to be true in scripts. Use 0xFFCC2DB2D9953401 (_GET_SHOP_ITEM_NUM_WEARABLE_STATES) to get the number of available wearable states
PEDBuild 1207
Signature
lua
GetShopItemWearableStateByIndex(GetHashKey("..."), 0, true, true)
-- returns HashParameters
| Name | Type | Description |
|---|---|---|
| Hash | — | |
| int | — | |
| BOOL | — | |
| BOOL | — |
Usage
lua
GetShopItemWearableStateByIndex(GetHashKey("..."), 0, true, true)Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- Source
- VORPCORE/RDR3natives
Source: VORPCORE/RDR3natives
