Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 0464

Opcode Database

0464

DescriptionPuts actor into a turret on a car, allowing them to shoot.
Parameters (v2)1) Actor handle (Integer) (INT)
2) Vehicle handle (Integer) (INT)
3) X Offset (Float) (FLOAT)
4) Y Offset (Float) (FLOAT)
5) Z Offset (Float) (FLOAT)
6) Integer (INT)
7) Angle (Float) (FLOAT)
8) Weapon ID (Integer) (INT)
Gamessa vc
CategoryActor, Common, Vehicle, Weapon
Command Name (IV)ATTACH_PED_TO_CAR
San Andreas
sascm.ini0464=8,attach_ped_to_car %1d% car %2d% offset %3d% %4d% %5d% position %6h% angle_limit %7d% weapon %8h%
Example0464: attach_ped_to_car 99@ car 68@ offset 266@ 267@ 268@ position 0 angle_limit 0.0 weapon 0
Command NameATTACH_CHAR_TO_CAR
Vice City
sascm.ini0464=8,put_actor %1d% into_turret_on_car %2d% at_car_offset %3d% %4d% %5d% position %6h% angle %7d% with_weapon %8h%
Example0464: put_actor $2485 into_turret_on_car $2468 at_car_offset 0.4242 -0.0679 1.1322 position 3 angle 270.0 with_weapon 27
Command NameATTACH_PED_TO_CAR

<< 0463

0465 >>