<?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=Zentorno</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=Zentorno"/>
	<link rel="alternate" type="text/html" href="https://wiki.rage.mp/wiki/Special:Contributions/Zentorno"/>
	<updated>2026-06-15T08:25:37Z</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=20525</id>
		<title>Vehicle::getColor</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Vehicle::getColor&amp;diff=20525"/>
		<updated>2021-01-30T15:00:34Z</updated>

		<summary type="html">&lt;p&gt;Zentorno: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Zentorno: On the client-side, this function requires three args (red: int, green: int, blue: int), and will return an object: r,g,b&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;pre&amp;gt;vehicle.getColor(id);&amp;lt;/pre&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;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;pre&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;/pre&amp;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>Zentorno</name></author>
	</entry>
</feed>