SetPlayerBeard

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


Sets the beard of a specified player with custom attributes.

Syntax

API.setPlayerBeard(LocalHandle player, int id, int colorId, int secondColorId, double opacity);

Required Arguments

  • player: parameter input should be in LocalHandle type.
  • id: parameter input should be in int type.
  • colorId: parameter input should be in int type.
  • secondColorId: parameter input should be in int type.
  • opacity: parameter input should be in double type.

See Beards for more information.

Usage example(s)

API.setPlayerBeard(LocalHandle player, int id, int colorId, int secondColorId, double opacity);

References