Difference between revisions of "0171"

From GTAMods Wiki
Jump to navigation Jump to search
m
m
 
Line 7: Line 7:
 
| p1d        = The [[0053|handle of the player]]
 
| p1d        = The [[0053|handle of the player]]
 
| p2t        = [''flt'']
 
| p2t        = [''flt'']
| p2d        = Heading
+
| p2d        = Heading in degrees
 
}}
 
}}
  

Latest revision as of 01:00, 14 November 2016

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