Skip to content

GetNumberOfPedCollectionPropDrawableVariations ​

клиент GET_NUMBER_OF_PED_COLLECTION_PROP_DRAWABLE_VARIATIONS

c
int GET_NUMBER_OF_PED_COLLECTION_PROP_DRAWABLE_VARIATIONS(Ped ped, int anchorPoint, char* collection);

An analogue of GET_NUMBER_OF_PED_PROP_DRAWABLE_VARIATIONS that returns number of prop variations inside a single collection instead of the total number across all collections.

Параметры ​

  • ped: The target ped
  • anchorPoint: One of the anchor points from SET_PED_PROP_INDEX
  • collection: Name of the collection. Empty string for the base game collection. See GET_PED_COLLECTION_NAME in order to list all available collections.

Возвращает ​

Number of props available in the given collection. Returns 0 if ped or collection does not exist.


Страница собрана автоматически из native-decls/GetNumberOfPedCollectionPropDrawableVariations.md. Нашли ошибку — поправьте исходный файл.

Независимый проект на базе Cfx.re. Не связан с Rockstar Games и Take-Two Interactive.