IsPlayerComponentVariationValid

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


Checks if given playercomponent-variation is valid.

Syntax

API.isPlayerComponentVariationValid(LocalHandle player, int slot, int drawable, int texture);

Required Arguments

  • player: parameter input should be in LocalHandle type.
  • slot: parameter input should be in int type.
  • drawable: parameter input should be in int type.
  • texture: parameter input should be in int type.

NOTE: This function returns data in bool type.

Usage example(s)

API.isPlayerComponentVariationValid(LocalHandle player, int slot, int drawable, int texture);

References