Difference between revisions of "OPEN CAR DOOR"

From GTAMods Wiki
Jump to navigation Jump to search
m
 
Line 9: Line 9:
 
This function open a door of the specified vehicle. To close a door call [[SHUT_CAR_DOOR]].
 
This function open a door of the specified vehicle. To close a door call [[SHUT_CAR_DOOR]].
  
'''Doors ID :'''
+
{| {{Prettytable}}
 
+
!Door`s ID
0 - Left front door
+
!Description
 
+
|-
1 - Right front door
+
|0 || Left front door
 
+
|-
2 - Left rear door
+
|1 || Right front door
 
+
|-
3 - Right rear door
+
|2 || Left rear door
 
+
|-
4 - Hood
+
|3 || Right rear door
 
+
|-
5 - Trunk
+
|4 || Vehicle bonnet
 +
|-
 +
|5 || Vehicle trunk
 +
|-
 +
|}

Latest revision as of 11:27, 31 March 2015

OPEN_CAR_DOOR
Number of parameters: 2
Parameter #TypeDescription
1.HandleVehicle handle
2.IntegerDoor's ID
Return value:
TypeDescription
None

This function open a door of the specified vehicle. To close a door call SHUT_CAR_DOOR.

Door`s ID Description
0 Left front door
1 Right front door
2 Left rear door
3 Right rear door
4 Vehicle bonnet
5 Vehicle trunk