Player::isComponentVariationValid

From RAGE Multiplayer Wiki
Revision as of 23:45, 6 May 2017 by Marty uploader (talk | contribs) (yay)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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