IsPlayerComponentPropValid

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


Checks if a given playercomponent-prop is valid.

Syntax

API.isPlayerComponentPropValid(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.isPlayerComponentPropValid(LocalHandle player, int componentId, int drawableId, int textureId);

References