Client-side function
addClothingModel
Jump to navigation
Jump to search
Syntax
bool addClothingModel ( string clothesTexture, string clothesModel, int clothesType )
Required Arguments
- clothesTexture: A string determining the clothes texture that will be added.
- clothesModel: A string determining the clothes model that will be added.
- clothesType: A integer representing the clothes slot/type the clothes should be added to. See the clothes catalog.
Returns
Returns true if the clothing was added, and false otherwise.
Example
local dff = engineLoadDFF("shirt_model_1.dff") local txd = engineLoadTXD("shirt_model_1.txd") engineAddClothingModel(dff, "shirt_model_1.dff") engineAddClothingTXD(txd, "shirt_model_1.txd") addClothingModel("shirt_model_1", "shirt_model_1", 0)
See Also
- addPedClothes
- getBodyPartName
- getClothesByTypeIndex
- getClothesTypeName
- getPedClothes
- getTypeIndexFromClothes
- removePedClothes