Skip to main content

Player::getNumberOfPropTextureVariations

Need to check behavior when drawableId = -1

- Doofy.Ass Why this function doesn't work and return nill value? GET_NUMBER_OF_Player_PROP_TEXTURE_VARIATIONS(PLAYER.PLAYER_Player_ID(), 0, 5)

tick: scripts/addins/menu_execute.lua:51: attempt to call field 'GET_NUMBER_OF_Player_PROP_TEXTURE_VARIATIONS' (a nil value)

List of component/props ID gtaxscripting.blogspot.com/2016/04/gta-v-peds-component-and-props.html

Syntax

```js player.getNumberOfPropTextureVariations(propId, drawableId); ```

Required Arguments

  • propId: int
  • drawableId: int

Return value

  • int

Example

```js // todo ```

See also