EngineSetFramePosition: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 22: Line 22:
<br />
<br />
'''List of components:'''<br />
'''List of components:'''<br />
special_1<br />
*special_1<br />
special_2<br />
*special_2<br />
special_3<br />
*special_3<br />
special_4<br />
*special_4<br />
special_5<br />
*special_5<br />
bonnet<br />
*bonnet<br />
boot<br />
*boot<br />
bumper_1<br />
*bumper_1<br />
bumper_2<br />
*bumper_2<br />
chassis<br />
*chassis<br />
door_1<br />
*door_1<br />
door_2<br />
*door_2<br />
door_3<br />
*door_3<br />
door_4<br />
*door_4<br />
exhaust<br />
*exhaust<br />
windscreen<br />
*windscreen<br />
<br />
<br />
===Return===  
===Return===  

Revision as of 21:25, 10 September 2012

This function set frame position for vehicle element.


Syntax

bool engineSetFramePosition ( vehicle theVehicle, string
theComponent, float fX, float fY, float fZ )

Required Arguments

  • theVehicle: The vehicle you wish to set frame position.
  • theComponent: A component.
  • fX: X axis.
  • fY: Y axis.
  • fZ: Z axis.


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


Return

Return true if frame position was set successfully, false otherwise.

See Also