Difference between revisions of "050B"

From GTAMods Wiki
Jump to navigation Jump to search
m
m
 
(One intermediate revision by the same user not shown)
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 ==
Line 15: Line 15:
  
 
== See also ==
 
== See also ==
* [[04E1]], pop car boot without physics
+
* {{Icon|VC}} {{Icon|SA}} [[04E1]], pop car boot without physics
  
 
[[Category:OpCodes]]
 
[[Category:OpCodes]]

Latest revision as of 17:42, 29 November 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

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