<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
	<id>https://rage.grandroleplay.ru/index.php?action=history&amp;feed=atom&amp;title=Vehicle%3A%3AsetModColor1</id>
	<title>Vehicle::setModColor1 - История изменений</title>
	<link rel="self" type="application/atom+xml" href="https://rage.grandroleplay.ru/index.php?action=history&amp;feed=atom&amp;title=Vehicle%3A%3AsetModColor1"/>
	<link rel="alternate" type="text/html" href="https://rage.grandroleplay.ru/index.php?title=Vehicle::setModColor1&amp;action=history"/>
	<updated>2026-07-24T19:45:22Z</updated>
	<subtitle>История изменений этой страницы в вики</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://rage.grandroleplay.ru/index.php?title=Vehicle::setModColor1&amp;diff=16264&amp;oldid=prev</id>
		<title>imported&gt;Shr0x в 21:03, 2 марта 2024</title>
		<link rel="alternate" type="text/html" href="https://rage.grandroleplay.ru/index.php?title=Vehicle::setModColor1&amp;diff=16264&amp;oldid=prev"/>
		<updated>2024-03-02T21:03:20Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{ClientsideJsEvent}}&lt;br /&gt;
Changes the primary color type and color of the given vehicle&lt;br /&gt;
==MOD_COLOR_TYPE==&lt;br /&gt;
{{JSContainer|&lt;br /&gt;
//List of color types&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
const MOD_COLOR_TYPE = {&lt;br /&gt;
    MCT_METALLIC: 0,&lt;br /&gt;
    MCT_CLASSIC: 1,&lt;br /&gt;
    MCT_PEARLESCENT: 2,&lt;br /&gt;
    MCT_MATTE: 3,&lt;br /&gt;
    MCT_METALS: 4,&lt;br /&gt;
    MCT_CHROME: 5,&lt;br /&gt;
    MCT_CHAMELEON: 6 // only available on Gen9 platforms&lt;br /&gt;
    MCT_NONE: 7 // if this is set, the vehicle doesn&amp;#039;t use mod colors, it uses the regular color system&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{Parameters}}&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;colorType&amp;#039;&amp;#039;&amp;#039;: {{RageType|Number}}&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;color&amp;#039;&amp;#039;&amp;#039;: {{RageType|Number}} [[https://wiki.rage.mp/index.php?title=Vehicle_Colors List of Vehicle Colors]]&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;pearlescentColor&amp;#039;&amp;#039;&amp;#039;: {{RageType|Number}} &lt;br /&gt;
&lt;br /&gt;
{{Returns}}&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;void&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Pearlescent Color seems to always be 0 in the scripts.&lt;br /&gt;
&lt;br /&gt;
{{Example}}&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;JavaScript&amp;quot; style=&amp;quot;width: 98%;&amp;quot;&amp;gt;&lt;br /&gt;
mp.players.local.vehicle.setModColor1(0, 44, 0); //change primary color of the vehicle to metallic bright red&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Vehicle_function_c}}&lt;br /&gt;
[[Category:Clientside API]]&lt;br /&gt;
[[Category:TODO: Example]]&lt;/div&gt;</summary>
		<author><name>imported&gt;Shr0x</name></author>
	</entry>
</feed>