<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/wiki/AddClothingModel?action=history&amp;feed=atom</id>
	<title>AddClothingModel - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/wiki/AddClothingModel?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=AddClothingModel&amp;action=history"/>
	<updated>2026-05-07T17:18:27Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=AddClothingModel&amp;diff=81908&amp;oldid=prev</id>
		<title>Walace: Adds a page for the function addClothingModel.</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=AddClothingModel&amp;diff=81908&amp;oldid=prev"/>
		<updated>2025-04-08T01:13:23Z</updated>

		<summary type="html">&lt;p&gt;Adds a page for the function addClothingModel.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client function}}&lt;br /&gt;
{{New feature/item|3.0161|1.6.0|23124|This function adds a new wearable clothing item for CJ.}}&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool addClothingModel ( string clothesTexture, string clothesModel, int clothesType )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''clothesTexture:''' A string determining the clothes texture that will be added.&lt;br /&gt;
*'''clothesModel:''' A string determining the clothes model that will be added.&lt;br /&gt;
*'''clothesType:''' A integer representing the clothes slot/type the clothes should be added to. See the [[CJ Clothes|clothes catalog]].&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the clothing was added, and ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local dff = engineLoadDFF(&amp;quot;shirt_model_1.dff&amp;quot;)&lt;br /&gt;
local txd = engineLoadTXD(&amp;quot;shirt_model_1.txd&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
engineAddClothingModel(dff, &amp;quot;shirt_model_1.dff&amp;quot;)&lt;br /&gt;
engineAddClothingTXD(txd, &amp;quot;shirt_model_1.txd&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
addClothingModel(&amp;quot;shirt_model_1&amp;quot;, &amp;quot;shirt_model_1&amp;quot;, 0)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Clothes and body functions}}&lt;/div&gt;</summary>
		<author><name>Walace</name></author>
	</entry>
</feed>