Перейти к содержанию

Player::isComponentVariationValid

Материал из RAGE MP Wiki Archive

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

<syntaxhighlight lang="javascript">player.isComponentVariationValid(componentId, drawableId, textureId);</syntaxhighlight>

Required Arguments

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

Return value

  • Boolean

Example

<syntaxhighlight lang="javascript"> // todo </syntaxhighlight>

See also