0171

From GTAMods Wiki
Jump to navigation Jump to search

GTA III Vice City SET_PLAYER_HEADING


Description
Sets the heading of the player
Syntax
0171: set_player [player handle] z_angle_to [flt]
Parameter
[player handle]
The handle of the player
[flt]
Heading in degrees

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

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

Keywords

set, player, angle, heading

See also

  • GTA III Vice City 0170, gets the heading of the player
  • GTA III Vice City San Andreas 0173, sets the heading of the character