Difference between revisions of "0683"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with '{{OpCode | ini = 0683=8, %1d% %2d% %3d% %4d% %5d% %6d% %7d% %8d% | description = Attaches a vehicle to an other vehicle. | p1 = Existing vehicle handle | p2…')
 
 
Line 1: Line 1:
 
{{OpCode
 
{{OpCode
| ini        = 0683=8, %1d%  %2d%  %3d% %4d% %5d%  %6d% %7d% %8d%
+
| games      = {{Icon|SA}}
| description = Attaches a vehicle to an other vehicle.
+
| command    = ATTACH_CAR_TO_CAR
| p1          = Existing vehicle handle  
+
| description = Attaches the vehicle to another vehicle
| p2          = Existing vehicle handle  
+
| syntax1    = 0683: attach_car [''car handle1''] to_car [''car handle2''] with_offset [''flt1''] [''flt2''] [''flt3''] rotation [''flt4''] [''flt5''] [''flt6'']
| p3          = X offset
+
| p1t        = [''car handle1'']
| p4          = Y offset
+
| p1d        = The handle of the vehicle
| p5          = Z offset
+
| p2t        = [''car handle2'']
| p6          = X rotation
+
| p2d        = The handle of the vehicle to attach
| p7          = Y rotation
+
| p3t        = [''flt1'']
| p8          = Z rotation  
+
| p3d        = X-offset
| game        = [[San Andreas]]
+
| p4t        = [''flt2'']
 +
| p4d        = Y-offset
 +
| p5t        = [''flt3'']
 +
| p5d        = Z-offset
 +
| p6t        = [''flt4'']
 +
| p6d        = X-rotation
 +
| p7t        = [''flt5'']
 +
| p7d        = Y-rotation
 +
| p8t        = [''flt6'']
 +
| p8d        = Z-rotation
 
}}
 
}}
  
This opcode attaches a vehicle to an other vehicle with an offset.  
+
This opcode attaches the vehicle to another vehicle.
 
==Sanny Builder Example==
 
  
<source lang="scm">0683: attach_car 208@ to_car 188@ with_offset 0.0 -4.6 0.65 rotation 15.0 0.0 0.0</source>
+
== Keywords ==
 
 
==Keywords==
 
 
attach, car
 
attach, car

Latest revision as of 17:20, 28 January 2016

San Andreas ATTACH_CAR_TO_CAR


Description
Attaches the vehicle to another vehicle
Syntax
0683: attach_car [car handle1] to_car [car handle2] with_offset [flt1] [flt2] [flt3] rotation [flt4] [flt5] [flt6]
Parameter
[car handle1]
The handle of the vehicle
[car handle2]
The handle of the vehicle to attach
[flt1]
X-offset
[flt2]
Y-offset
[flt3]
Z-offset
[flt4]
X-rotation
[flt5]
Y-rotation
[flt6]
Z-rotation

This opcode attaches the vehicle to another vehicle.

Keywords

attach, car