021B

From GTAMods Wiki
Revision as of 16:07, 24 February 2010 by Spaceeinstein (talk | contribs) (New page: {{OpCode | ini = 021B=2,%1d% %2d% | description = Sets the garage to accept the car | p1 = Garage ID | p2 = Existing vehicle handle | g...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

{{{games}}}


Description
Sets the garage to accept the car
Syntax
{{{syntax1}}}
Parameter

This opcode sets the garage to accept the car. Effects of this opcode depend on the type of the garage and are noticeable for a few of them, with each of them behaving differently.

  • Type 14: The garage will open for your car. Once inside you will be frozen until the door closes. After a short time it opens back up. Once inside you can leave your car in it and walk out. It won't accept your car again if you manage to get it out and attempt to drive back in.
  • Type 20: The garage will open for your car but it won't close by itself as long as the car is in the garage.
  • Type 21: The garage will open for your car. Once inside you will be frozen until the door closes. The door stays closed. It won't accept your car again if you manage to get it out and attempt to drive back in.
  • Type 23: The garage won't open for your car so you have to force it open. Once inside you can leave your car in it and walk out. You will be frozen as the door closes. It will accept your car again if you manage to get it out and attempt to drive back in.