ResetVehicleComponentPosition

From Multi Theft Auto: Wiki
Revision as of 12:59, 17 September 2012 by X86dev (talk | contribs)
Jump to navigation Jump to search

This function reset to default component position for vehicle.

Syntax

bool resetVehicleComponentPosition ( vehicle theVehicle, string theComponent )

Required Arguments

  • theVehicle: The vehicle you wish to reset component position.
  • theComponent: A vehicle component:
    • "special_1":
    • "special_2":
    • "special_3":
    • "special_4":
    • "special_5":
    • "bonnet":
    • "boot":
    • "bumper_1":
    • "bumper_2":
    • "chassis":
    • "door_1":
    • "door_2":
    • "door_3":
    • "door_4":
    • "exhaust":
    • "wing_lf":
    • "wing_rf":
    • "extra_1":
    • "extra_2":

Returns

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

Example

TODO

--TODO

See Also