GET DOOR ANGLE RATIO

From GTAMods Wiki
Revision as of 11:26, 31 March 2015 by FL1K3R (talk | contribs) (Created page with "{{Native |np = 3 |p1t = integer |p1d = Vehicle handler |p2t = integer |p2d = Door`s ID |p3t = float |p3d = handler of door angle |r...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
GET_DOOR_ANGLE_RATIO
Number of parameters: 3
Parameter #TypeDescription
1.integerVehicle handler
2.integerDoor`s ID
3.floathandler of door angle
Return value:
TypeDescription
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