முதன்மை உள்ளடக்கத்துக்குச் செல்லவும்

GetRandomVehicleColourPair

எச்சரிக்கை

செயல்பாடு என்பது omp v1.1.0.2612 பதிப்பில் சேர்க்கப்பட்டது. இது முந்தைய பதிப்புகளில் இயங்காது!

Description​

Get random colour indexes that are valid for the given vehicle model.

Parameters​

NameDescription
modelidThe ID of the vehicle model.
&colour1A variable in which to store the colour1 value, passed by reference.
&colour2A variable in which to store the colour2 value, passed by reference.
&colour3 = 0A variable in which to store the colour3 value, passed by reference.
&colour4 = 0A variable in which to store the colour4 value, passed by reference.

Examples​

new
colour1,
colour2;

GetRandomVehicleColourPair(560, colour1, colour2);