- Documentation
- Shared functions
- getClothesTypeId
Function
getClothesTypeId
Returns the clothing part number by name. It accepts English and Polish names, e.g. "hat", "czapka", "trousers", "tattoo3".
Syntax
int getClothesTypeId(string name)Arguments
namestring- The part name.
Returns
Number 0-17 or false.
Example
outputServerLog(getClothesTypeId("okulary")) -- 15