Difference between revisions of "00AA"

From GTAMods Wiki
Jump to navigation Jump to search
m
m
 
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 the x-coordinate
+
| p3d        = Variable to store the y-coordinate
: [''var2'']
+
| p4t        = [''var3'']
:: Variable to store the y-coordinate
+
| p4d        = Variable to store the z-coordinate
: [''var3'']
+
| native      = [[GET_CAR_COORDINATES]]
:: 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.
 
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 ==
Line 24: Line 25:
 
== See also ==
 
== See also ==
 
* {{Icon|t}} [[00AB]], sets the vehicle's coordinates
 
* {{Icon|t}} [[00AB]], sets the vehicle's coordinates
 
[[Category:OpCodes]]
 

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