GTAG - Modding - Opcode Database - 02F9
Opcode Database
02F9
| Description | Gets the Y Angle of the vehicles angle. |
|---|---|
| Parameters (v2) | 1) Vehicle handle (Integer) (INT) 2) (Returned) Float (FLOAT) |
| Games | |
| Category | Common, Math, Vehicle |
| Command Name (IV) | GET_CAR_FORWARD_Y |
| San Andreas | |
| sascm.ini | 02F9=2,get_car_forward_y %1d% store_to %2d% |
| Example | 02F9: get_car_forward_y 95@ store_to 295@ |
| Command Name | GET_CAR_FORWARD_Y |
| Vice City | |
| sascm.ini | 02F9=2,get_vehicle %1d% Z_angle_cosine_to %2d% |
| Example | 02F9: get_vehicle $4788 Z_angle_cosine_to $6977 |
| Command Name | GET_CAR_FORWARD_Y |
| GTA III | |
| gtascm.ini | 02f9=2,get_car %1d% Z_angle_cosine_to %2d% |
| Example | 02F9: get_car $RAY4_GHOST Z_angle_cosine_to $3204 |
| Command Name | GET_CAR_FORWARD_Y |

