GET NUMBER OF CHAR TEXTURE VARIATIONS
Revision as of 13:58, 14 October 2017 by Zolika1351 (talk | contribs)
| Number of parameters: 3 | ||
|---|---|---|
| Parameter # | Type | Description |
| 1. | integer | Ped |
| 2. | integer | Component id |
| 3. | integer | Variaton |
| Return value: | ||
| Type | Description | |
| None | ||
Gets all available texture variations in current component (parameter 2) and for current drawable variation (parameter 3).
Example usage:
int CurrentHead = GET_CHAR_DRAWABLE_VARIATION(GetPlayerPed(), 0);
int MaxHeadTex = GET_NUMBER_OF_CHAR_TEXTURE_VARIATIONS(GetPlayerPed(), 0, CurrentHead);