Difference between revisions of "GET CHAR HEADING"

From GTAMods Wiki
Jump to navigation Jump to search
(New page: {{Native |np=2 |p1t=handle |p1d=char handle |p2t=float |p2d=variable to store char heading }} Gets character heading in degrees. {| {{Prettytable}} |- ! Heading ! Compass Direction |- ...)
 
m
 
(One intermediate revision by the same user not shown)
Line 7: Line 7:
 
}}
 
}}
  
Gets character heading in degrees.
+
Gets the character's heading in degrees.
  
{| {{Prettytable}}
+
{{direction|deg}}
|-
 
! Heading 
 
! Compass Direction
 
|-
 
| 0
 
| North
 
|-
 
| 90
 
| West
 
|-
 
| 180
 
| South
 
|-
 
| 270
 
| East
 
|}
 

Latest revision as of 20:28, 10 November 2016

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
North
West 90°
South 180°
East 270°