Difference between revisions of "050B"

From GTAMods Wiki
Jump to navigation Jump to search
m
Line 7: Line 7:
 
'''Parameter'''
 
'''Parameter'''
 
: [''car handle'']
 
: [''car handle'']
:: The handle of the vehicle
+
:: The handle of an existing vehicle
  
This opcode opens the trunk lid or tailgate of a vehicle if it has one. 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.
+
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 ==
 
== Keywords ==

Revision as of 18:16, 15 July 2015

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

  • 04E1, pop car boot without physics