Difference between revisions of "021B"

From GTAMods Wiki
Jump to navigation Jump to search
(added iii + using tables)
Line 13: Line 13:
 
This opcode sets the garage to accept the specified vehicle. The effectiveness of this opcode depends on the type of the garage and are noticeable for a few of them, with each of them behaving differently.
 
This opcode sets the garage to accept the specified vehicle. The effectiveness of this opcode depends 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. Right after the door finishes opening, it will immediately close itself again and stays closed. It won't accept your car again if you manage to get it out and attempt to drive back in.
+
{| {{prettytable}}
*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.
+
| style="text-align:left" | {{Icon|3}}
*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.
+
| style="vertical-align:top" | 7 || 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. After the door closes, you are rewarded with $3. The car will disappear in the garage.
 +
|-
 +
| style="vertical-align:top" | 14 || The garage will open for you car with a large radius of acceptance. Once stopped inside, the garage door will close and the player will be frozen. After a moment, the door will reopen. Driving away from the garage will close the garage and the garage will no longer accept the car.
 +
|-
 +
| style="vertical-align:top" | 20 || The garage will open for your car but it won't close by itself as long as the car is in the garage.
 +
|-
 +
| style="vertical-align:top" | 21 || The garage will open for you car. Once stopped inside, the garage door will close and the player will be frozen. After a moment, you are unfrozen but the garage door remains closed. The garage won't accept your car again if you manage to get it out and attempt to drive back in.
 +
|}
 +
 
 +
{| {{prettytable}}
 +
| style="text-align:left" | {{Icon|VC}}
 +
|-
 +
| style="vertical-align:top" | 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. Right after the door finishes opening, it will immediately close itself again and stays closed. It won't accept your car again if you manage to get it out and attempt to drive back in.
 +
|-
 +
| style="vertical-align:top" | 20 || The garage will open for your car but it won't close by itself as long as the car is in the garage.
 +
|-
 +
| style="vertical-align:top" | 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.
 +
|-
 +
| style="vertical-align:top" | 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.
 +
|}
  
 
[[Category:OpCodes]]
 
[[Category:OpCodes]]

Revision as of 07:08, 28 December 2011

GTA III Vice City San Andreas


Description

Sets the garage to accept the specified vehicle

Syntax

021B: set_garage [garage handle] to_accept_car [car handle]

Parameter

[garage handle]
The handle of the garage
[car handle]
The handle of the vehicle

This opcode sets the garage to accept the specified vehicle. The effectiveness of this opcode depends on the type of the garage and are noticeable for a few of them, with each of them behaving differently.

GTA III
7 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. After the door closes, you are rewarded with $3. The car will disappear in the garage.
14 The garage will open for you car with a large radius of acceptance. Once stopped inside, the garage door will close and the player will be frozen. After a moment, the door will reopen. Driving away from the garage will close the garage and the garage will no longer accept the car.
20 The garage will open for your car but it won't close by itself as long as the car is in the garage.
21 The garage will open for you car. Once stopped inside, the garage door will close and the player will be frozen. After a moment, you are unfrozen but the garage door remains closed. The garage won't accept your car again if you manage to get it out and attempt to drive back in.
Vice City
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. Right after the door finishes opening, it will immediately close itself again and stays closed. It won't accept your car again if you manage to get it out and attempt to drive back in.
20 The garage will open for your car but it won't close by itself as long as the car is in the garage.
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.
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.