GetPedCollectionName — RedM Natives
0xFED5D83A · CFX · client
Returns name of collection under given index 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_COLLECTION_NAME can be used together with GET_PED_COLLECTIONS_COUNT to list all collections attached to Ped.
Parameters
| Name | Type | Description |
|---|---|---|
| ped | Ped | The target ped |
| index | int | The target collection index |
Returns
char*