GTAG - Modding - Opcode Database - 02F8
Opcode Database
02F8
| Description | Gets the sine 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_X |
| San Andreas | |
| sascm.ini | 02F8=2,get_car_forward_x %1d% store_to %2d% |
| Example | 02F8: get_car_forward_x 95@ store_to 294@ |
| Command Name | GET_CAR_FORWARD_X |
| Vice City | |
| sascm.ini | 02F8=2,get_vehicle %1d% Z_angle_sine_to %2d% |
| Example | 02F8: get_vehicle $4788 Z_angle_sine_to $6976 |
| Command Name | GET_CAR_FORWARD_X |
| GTA III | |
| gtascm.ini | 02f8=2,get_car %1d% Z_angle_sine_to %2d% |
| Example | 02F8: get_car $RAY4_GHOST Z_angle_sine_to $3203 |
| Command Name | GET_CAR_FORWARD_X |

