Difference between revisions of "BURST CAR TYRE"

From GTAMods Wiki
Jump to navigation Jump to search
(tables instead of image)
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
 
|np=2
 
|np=2
 
|p1t=integer
 
|p1t=integer
|p1d=Vehicle Id
+
|p1d=vehicle handle
 
|p2t=integer
 
|p2t=integer
 
|p2d=Wheel Id
 
|p2d=Wheel Id
 
|r=0
 
|r=0
 
}}
 
}}
 
+
This function instantly deflates a vehicle's tire. The tire still stays intact. A crude drawing below shows which ID belongs to which wheel.
Bursts a Vehicle's Tyre.
+
{|
 +
!colspan="3"| front
 +
|-
 +
|
 +
{| {{prettytable}}
 +
| 0
 +
|-
 +
| 4
 +
|}
 +
|
 +
{| {{prettytable}}
 +
| 0
 +
| 1
 +
|-
 +
| 4
 +
| 5
 +
|}
 +
|
 +
{| {{prettytable}}
 +
| 0
 +
| 1
 +
|-
 +
| 2
 +
| 3
 +
|-
 +
| 4
 +
| 5
 +
|}
 +
|-
 +
!colspan="3"| rear
 +
|}
 +
The first is for two-wheeled vehicles like motorbikes, the second is for four-wheeled vehicles like most cars and small trucks, and the third is for six-wheeled vehicles like large trucks.

Latest revision as of 15:02, 16 September 2010

BURST_CAR_TYRE
Number of parameters: 2
Parameter #TypeDescription
1.integervehicle handle
2.integerWheel Id
Return value:
TypeDescription
None

This function instantly deflates a vehicle's tire. The tire still stays intact. A crude drawing below shows which ID belongs to which wheel.

front
0
4
0 1
4 5
0 1
2 3
4 5
rear

The first is for two-wheeled vehicles like motorbikes, the second is for four-wheeled vehicles like most cars and small trucks, and the third is for six-wheeled vehicles like large trucks.