ResetVehicleComponentRotation

From Multi Theft Auto: Wiki
Revision as of 12:54, 2 January 2014 by Myonlake (talk | contribs)
Jump to navigation Jump to search

Accessories-text-editor.png Script Example Missing Function ResetVehicleComponentRotation needs a script example, help out by writing one.

Before submitting check out Editing Guidelines Script Examples.


ADDED/UPDATED IN VERSION 1.3.1 r4715:

This function reset to default component rotation for vehicle.

Syntax

bool resetVehicleComponentRotation ( vehicle theVehicle, string theComponent )

Required Arguments

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

Returns

Returns true if the rotation of the component was reset, false otherwise.

Example

TODO

--TODO

See Also