Player::getClothes: Difference between revisions
(→Syntax) |
No edit summary |
||
| Line 2: | Line 2: | ||
== Syntax == | == Syntax == | ||
<syntaxhighlight lang="javascript"> | <syntaxhighlight lang="javascript"> | ||
Object player.getClothes(); | Object player.getClothes(Number componentNumber); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
List of components: | |||
* 0 - Head | |||
* 1 - Beard | |||
* 2 - Hair | |||
* 3 - Torso | |||
* 4 - Legs | |||
* 5 - Hands | |||
* 6 - Foot | |||
* 7 - None? | |||
* 8 - Accessories like parachute, scuba tank | |||
* 9 - Accessories like bags, mask, scuba mask | |||
* 10- Decals and mask | |||
* 11 - Auxiliary parts for torso | |||
Revision as of 17:02, 4 January 2017
This function return a hash of player clothes.
Syntax
Object player.getClothes(Number componentNumber);
List of components:
- 0 - Head
- 1 - Beard
- 2 - Hair
- 3 - Torso
- 4 - Legs
- 5 - Hands
- 6 - Foot
- 7 - None?
- 8 - Accessories like parachute, scuba tank
- 9 - Accessories like bags, mask, scuba mask
- 10- Decals and mask
- 11 - Auxiliary parts for torso