// SetPedPropIndex
void SET_PED_PROP_INDEX(Ped ped, int componentId, int drawableId, int textureId, BOOL attach);
Parameters:- ped:
The ped handle.
- componentId:
The component that you want to set.
- drawableId:
The drawable id that is going to be set.
- textureId:
The texture id of the drawable.
- attach:
Attached or not.
This native is used to set prop variation on a ped. Components, drawables and textures IDs are related to the ped model.
MP Freemode list of props
0: Hat\
1: Glass\
2: Ear\
6: Watch\
7: Bracelet
Related and useful natives
GET_NUMBER_OF_PED_PROP_DRAWABLE_VARIATIONS\
GET_NUMBER_OF_PED_PROP_TEXTURE_VARIATIONS
List of component/props ID of player_two with examples
This is the server-side RPC native equivalent of the client native SET_PED_PROP_INDEX.