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.