Difference between revisions of "BREAK CAR DOOR"

From GTAMods Wiki
Jump to navigation Jump to search
(New page: {{Native |np=3 |p1t=integer |p1d=Vehicle Id |p2t=integer |p2d=Door Id |p3t=bool |p3d=True or false depending on whether you want the Car Door broken |r=0 }} Breaks or repairs a car door.)
 
(tested the native myself)
 
(One intermediate revision by one other user not shown)
Line 6: Line 6:
 
|p2d=Door Id
 
|p2d=Door Id
 
|p3t=bool
 
|p3t=bool
|p3d=True or false depending on whether you want the Car Door broken
+
|p3d=True or false depending on whether you want the Car Door to vanish or snap off
 
|r=0
 
|r=0
 
}}
 
}}
  
 
Breaks or repairs a car door.
 
Breaks or repairs a car door.
 +
 +
'''Doors ID :'''
 +
 +
0 - Left front door
 +
 +
1 - Right front door
 +
 +
2 - Left rear door
 +
 +
3 - Right rear door
 +
 +
4 - Hood
 +
 +
5 - Trunk

Latest revision as of 16:40, 11 June 2020

BREAK_CAR_DOOR
Number of parameters: 3
Parameter #TypeDescription
1.integerVehicle Id
2.integerDoor Id
3.boolTrue or false depending on whether you want the Car Door to vanish or snap off
Return value:
TypeDescription
None

Breaks or repairs a car door.

Doors ID :

0 - Left front door

1 - Right front door

2 - Left rear door

3 - Right rear door

4 - Hood

5 - Trunk