Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 0407

Opcode Database

0407

DescriptionStores the coordinates of an offset of the vehicles position.
Parameters (v2)1) Vehicle handle (Integer) (INT)
2) X Offset (Float) (FLOAT)
3) Y Offset (Float) (FLOAT)
4) Z Offset (Float) (FLOAT)
5) (Returned) X Coord (Float) (FLOAT)
6) (Returned) Y Coord (Float) (FLOAT)
7) (Returned) Z Coord (Float) (FLOAT)
Gamessa vc iii
CategoryCommon, Vehicle
Command Name (IV)GET_OFFSET_FROM_CAR_IN_WORLD_COORDS
San Andreas
sascm.ini0407=7,get_offset_from_car_in_world_coords %1d% offset %2d% %3d% %4d% store_to %5d% %6d% %7d%
Example0407: get_offset_from_car_in_world_coords 543@ offset -0.337 1.566 0.657 store_to 120@ 130@ 140@
Command NameGET_OFFSET_FROM_CAR_IN_WORLD_COORDS
Vice City
sascm.ini0407=7,create_coordinate %5d% %6d% %7d% from_car %1d% offset %2d% %3d% %4d%
Example0407: create_coordinate $1202 $1203 $1200 from_car $1185 offset 0.0 -20.0 0.0
Command NameGET_OFFSET_FROM_CAR_IN_WORLD_COORDS
GTA III
gtascm.ini0407=1,time_taken_defuse_mission = %1d%
Example0407: time_taken_defuse_mission = $4199
Command NameREGISTER_DEFUSE_BOMB_TIME

<< 0406

0408 >>