Player::getNumberOfPropTextureVariations

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

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

player.getNumberOfPropTextureVariations(propId, drawableId);

Required Arguments

  • propId: int
  • drawableId: int

Return value

  • int

Example

// todo

See also