Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 02F8

Opcode Database

02F8

DescriptionGets the sine of the vehicles angle.
Parameters (v2)1) Vehicle handle (Integer) (INT)
2) (Returned) Float (FLOAT)
Gamessa vc iii
CategoryCommon, Math, Vehicle
Command Name (IV)GET_CAR_FORWARD_X
San Andreas
sascm.ini02F8=2,get_car_forward_x %1d% store_to %2d%
Example02F8: get_car_forward_x 95@ store_to 294@
Command NameGET_CAR_FORWARD_X
Vice City
sascm.ini02F8=2,get_vehicle %1d% Z_angle_sine_to %2d%
Example02F8: get_vehicle $4788 Z_angle_sine_to $6976
Command NameGET_CAR_FORWARD_X
GTA III
gtascm.ini02f8=2,get_car %1d% Z_angle_sine_to %2d%
Example02F8: get_car $RAY4_GHOST Z_angle_sine_to $3203
Command NameGET_CAR_FORWARD_X

<< 02F7

02F9 >>