Difference between revisions of "GET CAR COLOURS"

From GTAMods Wiki
Jump to navigation Jump to search
m
m
 
Line 4: Line 4:
 
|p1d=vehicle handle
 
|p1d=vehicle handle
 
|p2t=integer
 
|p2t=integer
|p2d=variable to store 1st color ID (list of colors ID : [[Carcols.dat#GTA4]])
+
|p2d=variable to store 1st [[Carcols.dat#GTA4|color ID]]
 
|p3t=integer
 
|p3t=integer
|p3d=variable to store 2nd color ID (list of colors ID : [[Carcols.dat#GTA4]])
+
|p3d=variable to store 2nd [[Carcols.dat#GTA4|color ID]]
 
}}
 
}}
  
 
This function will get the 1st and the 2nd color ID of the specified vehicle, and store them to variables.
 
This function will get the 1st and the 2nd color ID of the specified vehicle, and store them to variables.

Latest revision as of 19:38, 2 January 2009

GET_CAR_COLOURS
Number of parameters: 3
Parameter #TypeDescription
1.handlevehicle handle
2.integervariable to store 1st color ID
3.integervariable to store 2nd color ID
Return value:
TypeDescription
None

This function will get the 1st and the 2nd color ID of the specified vehicle, and store them to variables.