EngineGetFrameRotation: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 18: Line 18:


'''List of components:'''
'''List of components:'''
special_1
special_1<br />
special_2
special_2<br />
special_3
special_3<br />
special_4
special_4<br />
special_5
special_5<br />
bonnet
bonnet<br />
boot
boot<br />
bumper_1
bumper_1<br />
bumper_2
bumper_2<br />
chassis
chassis<br />
door_1
door_1<br />
door_2
door_2<br />
door_3
door_3<br />
door_4
door_4<br />
exhaust
exhaust<br />
windscreen
windscreen<br />


===Returns===  
===Returns===  

Revision as of 20:52, 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.

List of components: 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
windscreen

Returns

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

See Also