Player::setPropIndex
ComponentId can be set to various things based on what category you're wanting to set.
| Props | |||
|---|---|---|---|
| Component ID | Part | Gender | |
| 0 | Hats | Male | Female |
| 1 | Glasses | Male | Female |
| 2 | Ears | Male | Female |
| 6 | Watches | Male | Female |
| 7 | Bracelets | Male | Female |
List of component/props ID: http://gtaxscripting.blogspot.com/2016/04/gta-v-peds-component-and-props.html
Syntax
player.setPropIndex(componentId, drawableId, TextureId, attach);
Required Arguments
- componentId: int
- drawableId: int
- TextureId: int
- attach: Boolean
Return value
- Undefined
Example
// todo