GetPedCollectionsCount — RedM Natives
0x45946359 · CFX · client
Returns number of variation collections available for the given Ped. Collections are groups of drawable components or props available for the given Ped. Usually collection corresponds to a certain DLC or the base game. See SET_PED_COLLECTION_COMPONENT_VARIATION, SET_PED_COLLECTION_PROP_INDEX, GET_NUMBER_OF_PED_COLLECTION_DRAWABLE_VARIATIONS etc natives for more details on how to work with collections. GET_PED_COLLECTIONS_COUNT can be used together with GET_PED_COLLECTION_NAME to list all collections attached to Ped.
Parameters
| Name | Type | Description |
|---|---|---|
| ped | Ped | The target ped |
Returns
int