<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.rage.mp/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Josh</id>
	<title>RAGE Multiplayer Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.rage.mp/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Josh"/>
	<link rel="alternate" type="text/html" href="https://wiki.rage.mp/wiki/Special:Contributions/Josh"/>
	<updated>2026-07-19T03:19:43Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Vehicle::getColor&amp;diff=15522</id>
		<title>Vehicle::getColor</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Vehicle::getColor&amp;diff=15522"/>
		<updated>2018-08-14T19:50:36Z</updated>

		<summary type="html">&lt;p&gt;Josh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;vehicle.getColor(id);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
=== Required Arguments ===&lt;br /&gt;
*&#039;&#039;&#039;id:&#039;&#039;&#039; int&lt;br /&gt;
&lt;br /&gt;
(0 - Primary Color, 1 - Secondary Color)&lt;br /&gt;
===Return value===&lt;br /&gt;
*&#039;&#039;&#039;integer:&#039;&#039;&#039; color&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
let primaryColor = player.vehicle.getColor(0)&lt;br /&gt;
let secondaryColor = player.vehicle.getColor(1)&lt;br /&gt;
&lt;br /&gt;
// If the vehicle primary color was black the following would return 0&lt;br /&gt;
console.log(primaryColor)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;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>Josh</name></author>
	</entry>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Vehicle::getColor&amp;diff=15521</id>
		<title>Vehicle::getColor</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Vehicle::getColor&amp;diff=15521"/>
		<updated>2018-08-14T19:50:17Z</updated>

		<summary type="html">&lt;p&gt;Josh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;vehicle.getColor(id);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
=== Required Arguments ===&lt;br /&gt;
*&#039;&#039;&#039;id:&#039;&#039;&#039; int&lt;br /&gt;
&lt;br /&gt;
ID 0 - Primary Color&lt;br /&gt;
ID 1 - Secondary Color&lt;br /&gt;
===Return value===&lt;br /&gt;
*&#039;&#039;&#039;integer:&#039;&#039;&#039; color&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
let primaryColor = player.vehicle.getColor(0)&lt;br /&gt;
let secondaryColor = player.vehicle.getColor(1)&lt;br /&gt;
&lt;br /&gt;
// If the vehicle primary color was black the following would return 0&lt;br /&gt;
console.log(primaryColor)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;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>Josh</name></author>
	</entry>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Vehicle::getColor&amp;diff=15520</id>
		<title>Vehicle::getColor</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Vehicle::getColor&amp;diff=15520"/>
		<updated>2018-08-14T19:49:49Z</updated>

		<summary type="html">&lt;p&gt;Josh: Fixed british spelling&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;vehicle.getColor(id);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
=== Required Arguments ===&lt;br /&gt;
*&#039;&#039;&#039;id:&#039;&#039;&#039; int&lt;br /&gt;
===Return value===&lt;br /&gt;
*&#039;&#039;&#039;integer:&#039;&#039;&#039; color&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
let primaryColor = player.vehicle.getColor(0)&lt;br /&gt;
let secondaryColor = player.vehicle.getColor(1)&lt;br /&gt;
&lt;br /&gt;
// If the vehicle primary color was black the following would return 0&lt;br /&gt;
console.log(primaryColor)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;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>Josh</name></author>
	</entry>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Vehicle::getColor&amp;diff=15519</id>
		<title>Vehicle::getColor</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Vehicle::getColor&amp;diff=15519"/>
		<updated>2018-08-14T19:49:16Z</updated>

		<summary type="html">&lt;p&gt;Josh: Change to correct function.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;vehicle.getColor(id);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
=== Required Arguments ===&lt;br /&gt;
*&#039;&#039;&#039;id:&#039;&#039;&#039; int&lt;br /&gt;
===Return value===&lt;br /&gt;
*&#039;&#039;&#039;integer:&#039;&#039;&#039; colour&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
let primaryColor = player.vehicle.getColor(0)&lt;br /&gt;
let secondaryColor = player.vehicle.getColor(1)&lt;br /&gt;
&lt;br /&gt;
// If the vehicle primary color was black the following would return 0&lt;br /&gt;
console.log(primaryColor)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;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>Josh</name></author>
	</entry>
</feed>