GetElementAttachedOffsets: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "__NOTOC__ {{Server client function}} This function returns the offsets of an element that has been attached to another element using attachElements. ==Syntax== <syntaxhighlight lang="lua">[lua,...")
(No difference)

Revision as of 10:42, 8 November 2010

This function returns the offsets of an element that has been attached to another element using attachElements.

Syntax

float, float, float, float, float, float getElementAttachedOffsets ( element theElement )

Required Arguments

  • theElement: The attached element.

Returns

Returns 6 floats, of which the first 3 indicate the position offset (x, y, z), and the last 3 indicate the rotation offset (x, y, z), if successful. false otherwise.

Example

-- TODO

See Also