0171

From GTAModding
Jump to: navigation, 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]
Z angle in degrees

This opcode sets the heading (Z angle) of the player. Opcode 0173 is the equivalent for characters.

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

Keywords

set, player, angle, heading

Personal tools