EngineSetFramePosition

From Multi Theft Auto: Wiki
Revision as of 21:00, 10 September 2012 by Kenix1 (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This function set frame position for vehicle element.


Syntax

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

Required Arguments

  • theVehicle: A vehicle object.
  • 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