020A

From GTAMods Wiki
Revision as of 02:40, 9 March 2010 by Spaceeinstein (talk | contribs) (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...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 cars 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

Keywords

set, car, vehicle, door, lock, status