EngineGetFrameRotation: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
(Blanked the page)
Line 1: Line 1:
{{Client function}}
__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.
<br />
'''List of components:'''<br />
special_1<br />
special_2<br />
special_3<br />
special_4<br />
special_5<br />
bonnet<br />
boot<br />
bumper_1<br />
bumper_2<br />
chassis<br />
door_1<br />
door_2<br />
door_3<br />
door_4<br />
exhaust<br />
windscreen<br />
<br />
===Returns===
Returns three ''float''s indicating the rotation of the frame, ''x'', ''y'' and ''z'' respectively.
==See Also==
{{Engine_functions}}

Revision as of 20:54, 10 September 2012