SetPlayerHeadOverlayColor

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

Sets the headoverlay color of the specified player.

Syntax

API.setPlayerHeadOverlayColor(LocalHandle player, int overlayId, int colorType, int colorId, int secondColorId);

Required Arguments

  • player: parameter input should be in LocalHandle type.
  • overlayId: parameter input should be in int type.
  • colorType: parameter input should be in int type.
  • colorId: parameter input should be in int type.
  • secondColorId: parameter input should be in int type.

ColorType Usage

  • colorType 1: for beard, chesthair and eyebrows.
  • colorType 2: for blush and lipstick.
  • colorType 0: otherwise

Usage example(s)

API.setPlayerHeadOverlayColor(LocalHandle player, int overlayId, int colorType, int colorId, int secondColorId);

References