VehicleColourIndexToColour
Упозорење
Додато у верзији omp v1.1.0.2612. Ова ставка не ради у старијим верзијама. Врста: функција.
Description
Convert a car colour index to a HEX colour (RGBA).
Parameters
| Name | Description |
|---|---|
| index | Vehicle colour. |
| alpha = 0xFF | Alpha channel. |
Examples
new colour = VehicleColourIndexToColour(3, 0xFF);
Related Functions
- GetRandomVehicleColourPair: Get random colour indexes that are valid for the given vehicle model.
- GetVehicleColours: Gets the vehicle colours.