GetVehicleComponentRotation

From Multi Theft Auto: Wiki
Revision as of 20:34, 25 October 2012 by Cazomino05 (talk | contribs)
Jump to navigation Jump to search

This function get component rotation for vehicle.

Syntax

float, float, float getVehicleComponentRotation ( vehicle theVehicle, string theComponent )

Required Arguments

  • theVehicle: The vehicle you wish to get component rotation.
  • theComponent: A vehicle component (this is the frame name from the model file of the component you wish to modify)

Returns

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

Example

TODO

--TODO

See Also