0176

From GTAMods Wiki
Revision as of 18:59, 3 January 2009 by Spaceeinstein (talk | contribs) (New page: {{OpCode | ini = 0176=2,%2d% %1d% | description = Gets the Z angle of the object | p1 = Existing object handle | p2 = Variable to store the angle | game ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

{{{games}}}


Description
Gets the Z angle of the object
Syntax
{{{syntax1}}}
Parameter
Native analog
GET_OBJECT_HEADING

Note that the parameters are swapped.

Sanny Builder example:

0176: 1@ = object 0@ Z_angle

Note

The above format is more commonly used. The actual format of this opcode is in order:
0176=2,%1d% %2d%
The format to use depends on which INI file you use.

Keywords

get, store, object, angle