Player::isComponentVariationValid

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

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

player.isComponentVariationValid(componentId, drawableId, textureId);

Required Arguments

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

Return value

  • Boolean

Example

// todo

See also