IsPlayerClothesVariationValid

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


Checks if the given clothes-variation is valid.

This is an alias for isPlayerComponentVariationValid.

Syntax

API.isPlayerClothesVariationValid(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.

NOTE: This function returns data in bool type.

Usage example(s)

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

References