GetNumberOfPedCollectionTextureVariations
клиент GET_NUMBER_OF_PED_COLLECTION_TEXTURE_VARIATIONS
c
int GET_NUMBER_OF_PED_COLLECTION_TEXTURE_VARIATIONS(Ped ped, int componentId, char* collection, int drawableId);An alternative to GET_NUMBER_OF_PED_TEXTURE_VARIATIONS that uses local collection indexing instead of the global one.
Параметры
- ped: The target ped
- componentId: One of the components from SET_PED_COMPONENT_VARIATION
- collection: Name of the collection. Empty string for the base game collection. See GET_PED_COLLECTION_NAME in order to list all available collections.
- drawableId: Local drawable Id inside the given collection. Refer to GET_NUMBER_OF_PED_COLLECTION_DRAWABLE_VARIATIONS.
Возвращает
Number of texture variations available for the given drawable component. Returns 0 if ped or collection does not exist or index is out of bounds.
Страница собрана автоматически из native-decls/GetNumberOfPedCollectionTextureVariations.md. Нашли ошибку — поправьте исходный файл.