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

Player::setPropIndex

Материал из RAGE MP Wiki Archive
Версия от 02:33, 24 февраля 2020; imported>Paul
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

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

<syntaxhighlight lang="javascript">player.setPropIndex(componentId, drawableId, TextureId, attach);</syntaxhighlight>

Required Arguments

  • componentId: int
  • drawableId: int
  • TextureId: int
  • attach: Boolean

Return value

  • Undefined

Example

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

See also