EngineGetFrameRotation

From Multi Theft Auto: Wiki
Revision as of 20:49, 10 September 2012 by Kenix1 (talk | contribs) (Created page with "{{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 r...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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