GTAG - Modding - Opcode Database - 00AA
Opcode Database
00AA
| Description | Stores the X, Y and Z position of the specified car into separate variables. |
|---|---|
| Parameters (v2) | 1) Vehicle handle (Integer) (INT) 2) (Returned) X Coord (Float) (FLOAT) 3) (Returned) Y Coord (Float) (FLOAT) 4) (Returned) Z Coord (Float) (FLOAT) |
| Games | |
| Category | Common, Vehicle |
| Command Name (IV) | GET_CAR_COORDINATES |
| San Andreas | |
| sascm.ini | 00AA=4,get_car_coordinates %1d% store_to %2d% %3d% %4d% |
| Example | 00AA: get_car_coordinates 0@ store_to 3@ 4@ 5@ |
| Command Name | GET_CAR_COORDINATES |
| Vice City | |
| sascm.ini | 00AA=4,get_car_coordinates %1d% store_to %2d% %3d% %4d% |
| Example | 00AA: get_car_coordinates $727 store_to $750 $751 $752 |
| Command Name | GET_CAR_COORDINATES |
| GTA III | |
| gtascm.ini | 00AA=4,get_car_coordinates %1d% store_to %2d% %3d% %4d% |
| Example | 00AA: get_car_coordinates $735 store_to $CURRENT_X $CURRENT_Y $CURRENT_Z |
| Command Name | GET_CAR_COORDINATES |

