0170

From GTAMods Wiki
Revision as of 00:12, 20 November 2016 by Link2012 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

GTA III Vice City GET_PLAYER_HEADING


Description
Gets the heading of the player
Syntax
0170: [var] = player [player handle] z_angle
Parameter
[player handle]
The handle of the player
[var]
Variable to store the heading, a floating-point value

This opcode gets the heading (z angle) of the player.

Compass Degrees
North
West 90°
South 180°
East 270°

Keywords

get, store, player, angle, heading

See also

  • GTA III Vice City 0171, sets the heading of the player
  • GTA III Vice City San Andreas 0172, gets the heading of the character