EngineGetFramePosition: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 13: Line 13:
</syntaxhighlight>
</syntaxhighlight>


{{New feature|3|1.4|
===Required Arguments===
*'''theVehicle:''' A [[vehicle]] object.
*'''theComponent:''' A component.


}}
===Returns===
Returns three ''float''s indicating the rotation of the frame, ''x'', ''y'' and ''z'' respectively.


==See Also==
==See Also==
{{Engine_functions}}
{{Engine_functions}}

Revision as of 20:48, 10 September 2012

This function get frame rotation from vehicle element.


Syntax

float rX, float rY, float rZ engineGetFrameRotation ( vehicle theVehicle, string
theComponent )

Required Arguments

  • theVehicle: A vehicle object.
  • theComponent: A component.

Returns

Returns three floats indicating the rotation of the frame, x, y and z respectively.

See Also