0170

From GTAMods Wiki
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