020A
Revision as of 15:30, 12 September 2010 by Spaceeinstein (talk | contribs)
{{{games}}}
- Description
- Sets the door lock status
- Syntax
- {{{syntax1}}}
- Parameter
- Native analog
- LOCK_CAR_DOORS
This opcode sets the door status of the vehicle. Of course, the opcode only affects 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