Difference between revisions of "00AA"

From GTAMods Wiki
Jump to navigation Jump to search
m
m
Line 9: Line 9:
 
:: The handle of the vehicle
 
:: The handle of the vehicle
 
: [''var1'']
 
: [''var1'']
:: Variable to store x-coordinate
+
:: Variable to store the x-coordinate
 
: [''var2'']
 
: [''var2'']
:: Variable to store y-coordinate
+
:: Variable to store the y-coordinate
 
: [''var3'']
 
: [''var3'']
:: Variable to store z-coordinate
+
:: Variable to store the z-coordinate
 
'''Native analog'''
 
'''Native analog'''
 
: [[GET_CAR_COORDINATES]]
 
: [[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.
  
 
== Keywords ==
 
== Keywords ==
get, store, car, vehicle, position, coordinates
+
get, store, car, vehicle, position, coordinates, location
  
 
== See also ==
 
== See also ==

Revision as of 04:58, 8 December 2015

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.

Keywords

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

See also

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