Difference between revisions of "GET NUMBER OF CHAR TEXTURE VARIATIONS"
Jump to navigation
Jump to search
Zolika1351 (talk | contribs) |
Zolika1351 (talk | contribs) |
||
Line 11: | Line 11: | ||
Gets all available texture variations in current component (parameter 2) and for current [[GET_CHAR_DRAWABLE_VARIATION|drawable variation]] (parameter 3). | Gets all available texture variations in current component (parameter 2) and for current [[GET_CHAR_DRAWABLE_VARIATION|drawable variation]] (parameter 3). | ||
+ | |||
+ | Example usage: | ||
+ | |||
+ | int MaxHeadTex = GetNumberOfCharTextureVariations(GetPlayerPed(), PED_COMPONENT_HEAD, Head); |
Revision as of 13:56, 14 October 2017
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 MaxHeadTex = GetNumberOfCharTextureVariations(GetPlayerPed(), PED_COMPONENT_HEAD, Head);