Difference between revisions of "GET CAR COLOURS"

From GTAMods Wiki
Jump to navigation Jump to search
(New page: {{Native |np=3 |p1t=handle |p1d=vehicle handle |p2t=integer |p2d=variable to store 1st color ID (list of colors : Carcols.dat#GTA4) |p3t=integer |p3d=variable to store 2nd color ID (li...)
 
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 : [[Carcols.dat#GTA4]])
+
|p2d=variable to store 1st color ID (list of colors ID : [[Carcols.dat#GTA4]])
 
|p3t=integer
 
|p3t=integer
|p3d=variable to store 2nd color ID (list of colors : [[Carcols.dat#GTA4]])
+
|p3d=variable to store 2nd color ID (list of colors ID : [[Carcols.dat#GTA4]])
 
}}
 
}}
  
 
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.

Revision as of 18:17, 2 January 2009

GET_CAR_COLOURS
Number of parameters: 3
Parameter #TypeDescription
1.handlevehicle handle
2.integervariable to store 1st color ID (list of colors ID : Carcols.dat#GTA4)
3.integervariable to store 2nd color ID (list of colors ID : Carcols.dat#GTA4)
Return value:
TypeDescription
None

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