Difference between revisions of "00AA"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with "{{Icon|t}} '''GET_CAR_COORDINATES''' <hr /> '''Description''' : Gets the vehicle's coordinates point '''Syntax''' : 00AA: store_car [''car handle''] position_to [''var1''] [''...")
 
m
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Icon|t}} '''GET_CAR_COORDINATES'''
+
{{OpCode
<hr />
+
| games      = {{Icon|t}}
'''Description'''
+
| command    = GET_CAR_COORDINATES
: Gets the vehicle's coordinates point
+
| description = Gets the vehicle's coordinates point
'''Syntax'''
+
| syntax1    = 00AA: store_car [''car handle''] position_to [''var1''] [''var2''] [''var3'']
: 00AA: store_car [''car handle''] position_to [''var1''] [''var2''] [''var3'']
+
| p1t        = [''car handle'']
'''Parameter'''
+
| p1d        = The handle of the vehicle
: [''car handle'']
+
| p2t        = [''var1'']
:: The handle of the vehicle
+
| p2d        = Variable to store the x-coordinate
: [''var1'']
+
| p3t        = [''var2'']
:: Variable to store x-coordinate
+
| p3d        = Variable to store the y-coordinate
: [''var2'']
+
| p4t        = [''var3'']
:: Variable to store y-coordinate
+
| p4d        = Variable to store the z-coordinate
: [''var3'']
+
| native      = [[GET_CAR_COORDINATES]]
:: Variable to store z-coordinate
+
}}
'''Native analog'''
 
: [[GET_CAR_COORDINATES]]
 
  
This opcode stores the x, y, and z-coordinates of the center of mass of the vehicle's body.
+
This opcode gets the x, y, and z-coordinates of the center of mass of the vehicle's body.
 +
 
 +
== Example ==
 +
:''See [[0136#Example]]''
  
 
== Keywords ==
 
== Keywords ==
get, store, car, vehicle, position, coordinates
+
get, store, car, vehicle, position, coordinates, location
  
[[Category:OpCodes]]
+
== See also ==
 +
* {{Icon|t}} [[00AB]], sets the vehicle's coordinates

Latest revision as of 12:25, 14 January 2017

GTA III Vice City San Andreas GET_CAR_COORDINATES


Description
Gets the vehicle's coordinates point
Syntax
00AA: store_car [car handle] position_to [var1] [var2] [var3]
Parameter
[car handle]
The handle of the vehicle
[var1]
Variable to store the x-coordinate
[var2]
Variable to store the y-coordinate
[var3]
Variable to store the z-coordinate
Native analog
GET_CAR_COORDINATES

This opcode gets the x, y, and z-coordinates of the center of mass of the vehicle's body.

Example

See 0136#Example

Keywords

get, store, car, vehicle, position, coordinates, location

See also

  • GTA III Vice City San Andreas 00AB, sets the vehicle's coordinates