Player GetCharacterInfo

Returns information about custom characteristics of the player model (EX: hair color)
;Usage
Player.GetCharacterInfo()
; Returns object:
Key 	Type 	Description
facialHairColor	signed integer	facial hair color (IE: beard/mustache)
skinColor 	signed integer	skin color
eyeColor 	signed integer	eye color
gender 	string 	gender
headAccB 	signed integer	head accessory (???)
lipColor 	signed integer	lip color
headAccA 	signed integer	head accessory (???)
headMain 	signed integer	description
hairColor 	signed integer	hair color (top of head, not facial)
;Examples:
<nowiki>
function is_male()
	local character_info = Player.GetCharacterInfo();
	if character_info["gender"] == "male" then
		return true;
	else
		return false;
	end
end
--[[
{"eyes" = <10001>,
"headAccA" = <10095>,
"headMain" = <10035>,
"gender" = "male",
"visuals" = {"decal_gradient_ids" = {},"ornament_group_ids" = {},
 "warpaint_colors" = {1 = {"zones" = {
 "HAIR_COLOR" = {"light" = "CDB26A","dark" = "181000"},
 "FACIAL_HAIR_COLOR" = {"light" = "CDB26A","dark" = "181000"},
 "EYE_COLOR" = {"light" = "FFFFFF","dark" = "080808"},
 "SKIN_COLOR" = {"light" = "EEBEBD","dark" = "000000"},
 "LIP_COLOR" = {"light" = "73A1EE","dark" = "293C62"}}}},
"decals" = {},
"warpaint_patterns" = {}
}
}
--]]
</nowiki>
Category:Addon_API