020A

From GTAMods Wiki
Jump to navigation Jump to search

{{{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