GetElementRotation

From Multi Theft Auto: Wiki
Revision as of 01:56, 25 November 2008 by Willy (talk | contribs)
Jump to navigation Jump to search

Retrieve the rotation of elements.

Syntax

float float float getElementRotation ( element theElement )       

Required Arguments

  • theElement: The element whose rotation will be retrieved

Returns

Returns three floats if element exists and is a valid element, false in if it's invalid.

Example

If a player points at a player element with a gun, its rotation will appear in the chat box.

Click to expand [+]
Client

See Also