GET DOOR ANGLE RATIO
Jump to navigation
Jump to search
| Number of parameters: 3 | ||
|---|---|---|
| Parameter # | Type | Description |
| 1. | integer | Vehicle handler |
| 2. | integer | Door`s ID |
| 3. | float | handler of door angle |
| Return value: | ||
| Type | Description | |
| None | ||
This native gets angle of vehicle`s door and store it in parameter 3.
For example: GET_DOOR_ANGLE_RATIO( myCar, 5, &FloatAngle ) - will get your trunk door angle.
| 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 |