Difference between revisions of "BURST CAR TYRE"
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= | + | |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. | |
| − | + | {| | |
| + | !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
| Number of parameters: 2 | ||
|---|---|---|
| Parameter # | Type | Description |
| 1. | integer | vehicle handle |
| 2. | integer | Wheel Id |
| Return value: | ||
| Type | Description | |
| 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 | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
| ||||||||||||
| 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.