ped.changeBodyPart: Difference between revisions

From GTA Connected
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 7: Line 7:
|parameters = int bodyPart, int model, int texture
|parameters = int bodyPart, int model, int texture
|parameter1 = int bodyPart The body part/component ID
|parameter1 = int bodyPart The body part/component ID
|parameter1 = int model The model index of the body part (usually 0-2)
|parameter2 = int model The model index of the body part (usually 0-2)
|parameter1 = int texture The texture index of the body part (usually 0-2)
|parameter3 = int texture The texture index of the body part (usually 0-2)
|return1 = null
|return1 = null
|returnFail1 = null n/a
|returnFail1 = null n/a

Latest revision as of 02:38, 29 November 2020

changeBodyPart

Signature: null changeBodyPart(int bodyPart, int model, int texture)

Usage: change the appearance of body parts and clothes for a ped.

Parameters

int bodyPart The body part/component ID
int model The model index of the body part (usually 0-2)
int texture The texture index of the body part (usually 0-2)

Return

null

On failure: null n/a