IsPlayerHairColorValid

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


Checks if the specified colorid is valid.

Syntax

API.isPlayerHairColorValid(int colorId);

Required Arguments

  • colorId: parameter input should be in int type.

NOTE: This function returns data in bool type. true if colorId is valid, false otherwise.

Usage example(s)

API.isPlayerHairColorValid(int colorId);

References