Skip to main content

Player::isComponentVariationValid

Checks if the component variation is valid, this works great for randomizing components using loops.

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

Syntax

```js player.isComponentVariationValid(componentId, drawableId, textureId); ```

Required Arguments

  • componentId: int
  • drawableId: int
  • textureId: int

Return value

  • Boolean

Example

```js // todo ```

See also