From Multi Theft Auto: Wiki
Jump to navigation
Jump to search
|
|
| (12 intermediate revisions by 2 users not shown) |
| Line 1: |
Line 1: |
| {{Client function}}
| | #REDIRECT [[GetVehicleComponentRotation]] |
| __NOTOC__
| |
| {{New items|3.0151|1.4|
| |
| This function get frame rotation from [[vehicle]] [[element]].
| |
| }}<br />
| |
| <br />
| |
| | |
| | |
| ==Syntax==
| |
| <syntaxhighlight lang="lua">
| |
| float rX, float rY, float rZ engineGetFrameRotation ( vehicle theVehicle, string
| |
| theComponent )
| |
| </syntaxhighlight>
| |
| | |
| ===Required Arguments===
| |
| *'''theVehicle:''' A [[vehicle]] object.
| |
| *'''theComponent:''' A component.
| |
| | |
| '''List of components:'''
| |
| special_1
| |
| special_2
| |
| special_3
| |
| special_4
| |
| special_5
| |
| bonnet
| |
| boot
| |
| bumper_1
| |
| bumper_2
| |
| chassis
| |
| door_1
| |
| door_2
| |
| door_3
| |
| door_4
| |
| exhaust
| |
| windscreen
| |
| | |
| ===Returns===
| |
| Returns three ''float''s indicating the rotation of the frame, ''x'', ''y'' and ''z'' respectively.
| |
| | |
| ==See Also==
| |
| {{Engine_functions}}
| |
Latest revision as of 13:48, 5 July 2017