SetPlayerComponentVariation

From GT-MP
Jump to: navigation, search
SetPlayerComponentVariation
Client-Side Function
System-users.png Client-Side Javascript.png JavaScript

Sets the component-variation of a specified player.

This is an alias for setPlayerClothes.

Syntax

API.setPlayerComponentVariation(LocalHandle player, int componentId, int drawableId, int textureId);

Required Arguments

  • player: parameter input should be in LocalHandle type.
  • componentId: parameter input should be in int type.
  • drawableId: parameter input should be in int type.
  • textureId: parameter input should be in int type.

Usage example(s)

API.setPlayerComponentVariation(LocalHandle player, int componentId, int drawableId, int textureId);

References