Difference between revisions of "SHUT CAR DOOR"

From GTAMods Wiki
Jump to navigation Jump to search
(New page: {{Native |np=2 |p1t=Handle |p1d=Vehicle handle |p2t=Integer |p2d=Door's ID }} This function close a door of the specified vehicle. To open a door call OPEN CAR DOOR. '''Doors ID :'''...)
 
 
Line 9: Line 9:
 
This function close a door of the specified vehicle. To open a door call [[OPEN CAR DOOR]].
 
This function close a door of the specified vehicle. To open a door call [[OPEN 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:26, 31 March 2015

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

This function close a door of the specified vehicle. To open a door call OPEN 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