ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Shared functions
  3. getClothesTypeName

Function

getClothesTypeName

Server and clientClothesIdentical to MTA:SA

Returns the name of a clothing part by its number 0-17: shirt, head, trousers, shoes, tattoo1-tattoo9, necklace, watch, glasses, hat, extra.

Syntax

string getClothesTypeName(int clothesType)

Arguments

clothesTypeint
Part number 0-17.

Returns

The name or false.

Example

outputServerLog(getClothesTypeName(16)) -- hat

See also