050B

From GTAMods Wiki
Jump to navigation Jump to search

Vice City POP_CAR_BOOT_USING_PHYSICS


Description

Opens the trunk of the vehicle

Syntax

050B: open_trunk_of_car [car handle]

Parameter

[car handle]
The handle of an existing vehicle

This opcode opens the trunk lid or tailgate of a vehicle if it has one. The force is strong enough to make the lid bounce up and down a few times. Unlike opcode 04E1, which visually behaves in a similar way, the lid is affected by physics when popped open and does not crash the game if the vehicle does not have a trunk. If the lid is already opened, it will still bounce up and down.

Keywords

car, vehicle, pop, open, boot, trunk, lid, tailgate, component

See also

  • Vice City San Andreas 04E1, pop car boot without physics