Difference between revisions of "ATTACH CAR TO CAR"

From GTAMods Wiki
Jump to navigation Jump to search
(Fixed some param's)
m
Line 22: Line 22:
 
}}
 
}}
  
Attaches 2 Vehicles together. Rotation are in radians. If the 'Relative offsets' boolean is true the offsets are relative otherwise they are Absolute (to the world).
+
Attaches two Vehicles together. Rotation are in radians. If the 'Relative offsets' boolean is true the offsets are relative otherwise they are Absolute (to the world).
  
 
{{Incomplete}}
 
{{Incomplete}}

Revision as of 16:24, 16 September 2009

ATTACH_CAR_TO_CAR
Number of parameters: 9
Parameter #TypeDescription
1.integerVehicle Child
2.integerVehicle Parent
3.boolRelative offsets
4.floatX Offset
5.floatY Offset
6.floatZ Offset
7.floatX Rotation
8.floatY Rotation
9.floatZ Rotation
Return value:
TypeDescription
None

Attaches two Vehicles together. Rotation are in radians. If the 'Relative offsets' boolean is true the offsets are relative otherwise they are Absolute (to the world).

This section is incomplete. You can help by fixing and expanding it.