EngineGetFramePosition

From Multi Theft Auto: Wiki
Revision as of 09:24, 16 September 2012 by Kenix1 (talk | contribs)
Jump to navigation Jump to search

This function get frame position from vehicle element.


Syntax

float fX, float fY, float fZ engineGetFramePosition ( vehicle theVehicle, string
theComponent )

Required Arguments

  • theVehicle: The vehicle you wish to get frame position.
  • 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 position of the frame, x, y and z respectively.

See Also


Accessories-text-editor.png Script Example Missing Function EngineGetFramePosition needs a script example, help out by writing one.

Before submitting check out Editing Guidelines Script Examples.