GetElementRelatedAngle: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

4 April 2023

  • curprev 01:0901:09, 4 April 2023LordHenry talk contribsm 3,926 bytes −7 →‎Syntax
  • curprev 01:0901:09, 4 April 2023LordHenry talk contribs 3,933 bytes +3,933 Created page with "__NOTOC__ {{Useful Function}} This function returns the related angle between one element to another. This is useful to check if a player is on the left side of a vehicle, for example. ==Syntax== <syntaxhighlight lang="lua">float, float getElementRelatedAngle (element thisElement, element targetElement)</syntaxhighlight> ===Required Arguments=== * '''thisElement''': The element whose '''XY position''' will be checked to obtain the angle relative to the other..."