GET CHAR HEADING

From GTAMods Wiki
Revision as of 04:23, 3 February 2011 by Spaceeinstein (talk | contribs) (testing direction template)
Jump to navigation Jump to search
GET_CHAR_HEADING
Number of parameters: 2
Parameter #TypeDescription
1.handlechar handle
2.floatvariable to store char heading
Return value:
TypeDescription
None

Gets the character's heading in degrees.

Compass Degrees Radians
North 0
West 90° π/2 ≈ 1.57
South 180° π ≈ 3.14
East 270° 3π/2 ≈ 4.71