EngineSetFrameRotation: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "{{Client function}} __NOTOC__ {{New items|3.0151|1.4| This function set frame position for vehicle element. }}<br /> <br /> ==Syntax== <syntaxhighlight lang="lua"> bool engineSetFram...")
 
(Redirect to setVehicleComponentRotation. I guess that model frames were renamed to components)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Client function}}
#REDIRECT [[SetVehicleComponentRotation]]
__NOTOC__
{{New items|3.0151|1.4|
This function set frame position for [[vehicle]] [[element]].
}}<br />
<br />
 
 
==Syntax==
<syntaxhighlight lang="lua">
bool engineSetFrameRotation ( vehicle theVehicle, string theComponent, float rX,
float rY, float rZ )
</syntaxhighlight>
 
===Required Arguments===
*'''theVehicle:''' The [[vehicle]] you wish to set frame rotation.
*'''theComponent:''' A component.
*'''fX:''' X axis.
*'''fY:''' Y axis.
*'''fZ:''' Z axis.
 
<br />
'''List of components:'''<br />
special_1<br />
special_2<br />
special_3<br />
special_4<br />
special_5<br />
bonnet<br />
boot<br />
bumper_1<br />
bumper_2<br />
chassis<br />
door_1<br />
door_2<br />
door_3<br />
door_4<br />
exhaust<br />
windscreen<br />
<br />
===Return===
Return true if frame rotation was set successfully, false otherwise.
 
==See Also==
{{Engine_functions}}

Latest revision as of 13:49, 5 July 2017