Spawning a car with a specific color
-
Hey,
I am making an Add-on of a car, and I want that when I spawn the car it will spawn with a specific color, blue to be exact. Can any one tell how to do that?
-
@Abdulrhman1 This is controlled with the carvariations.meta. I edited my cars to spawn certain colors with specific liveries.
<Item>
<modelName>na6</modelName>
<colors>
<Item>
<indices content="char_array">
38 Primary Color
5 Secondary Color
0 Interior Color
2 Wheels
</indices>
<liveries>
<Item value="true" />
<Item value="false" />
<Item value="false" />
<Item value="false" />
<Item value="false" />
<Item value="false" />
<Item value="false" />
<Item value="false" />
</liveries>
</Item>
-
Thanks man!