SetPlayerHairStyle

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

Sets the hairstyle of a specified player with custom attributes.

Syntax

API.setPlayerHairStyle(LocalHandle player, int id, int colorId, int highlightId, string collection, string overlay);

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.
  • highlightId: parameter input should be in int type.
  • collection: parameter input should be in string type.
  • overlay: parameter input should be in string type.

Usage example(s)

API.setPlayerHairStyle(LocalHandle player, int id, int colorId, int highlightId, string collection, string overlay);

References