Difference between revisions of "020A"
Jump to navigation
Jump to search
(New page: {{OpCode | ini = 020A=2,%1d% %2d% | description = Sets the door lock status | p1 = Vehicle handle | p2 = Integer | game = GTA 3, Vice City, [[San A...) |
|||
Line 2: | Line 2: | ||
| ini = 020A=2,%1d% %2d% | | ini = 020A=2,%1d% %2d% | ||
| description = Sets the door lock status | | description = Sets the door lock status | ||
− | | p1 = | + | | p1 = Valid vehicle handle |
| p2 = Integer | | p2 = Integer | ||
| game = [[GTA 3]], [[Vice City]], [[San Andreas]] | | game = [[GTA 3]], [[Vice City]], [[San Andreas]] | ||
}} | }} | ||
− | This opcode sets the door status of the vehicle. Of course, the opcode only works on | + | This opcode sets the door status of the vehicle. Of course, the opcode only works on vehicles with a working door. |
*1 - unlocked car | *1 - unlocked car | ||
*2 - locked car - properties include doors can't fall off, no one can enter but can exit but can enter car if door left wide open or fallen off | *2 - locked car - properties include doors can't fall off, no one can enter but can exit but can enter car if door left wide open or fallen off | ||
Line 14: | Line 14: | ||
*6 - animation will never leave door opened, always closes door | *6 - animation will never leave door opened, always closes door | ||
*7 - locked but doors can fall off | *7 - locked but doors can fall off | ||
+ | |||
+ | In GTA III, this opcode behaves exactly as opcode [[0135]]. | ||
==Keywords== | ==Keywords== | ||
set, car, vehicle, door, lock, status | set, car, vehicle, door, lock, status |
Revision as of 01:02, 1 May 2010
{{{games}}}
- Description
- Sets the door lock status
- Syntax
- {{{syntax1}}}
- Parameter
This opcode sets the door status of the vehicle. Of course, the opcode only works on vehicles with a working door.
- 1 - unlocked car
- 2 - locked car - properties include doors can't fall off, no one can enter but can exit but can enter car if door left wide open or fallen off
- 3 - locked for the player, not locked for NPCs
- 4 - locked, the player is stuck in the car
- 5 - locked when not in car, unlocks when in car
- 6 - animation will never leave door opened, always closes door
- 7 - locked but doors can fall off
In GTA III, this opcode behaves exactly as opcode 0135.
Keywords
set, car, vehicle, door, lock, status