Difference between revisions of "03D4"
m (→Vice City: either works) |
(updating page) |
||
Line 1: | Line 1: | ||
− | {{ | + | {{Icon|3}} {{Icon|VC}} |
− | + | <hr /> | |
− | + | '''Description''' | |
− | + | : Checks if the [[garage]] contains the needed vehicle | |
− | + | '''Syntax''' | |
− | + | : 03D4: garage [''garage handle''] contains_neededcar [''int''] | |
− | + | '''Parameter''' | |
− | + | : [''garage handle''] | |
+ | :: The [[Garage#List of Garages|handle of the garage]] | ||
+ | : [''int''] | ||
+ | :: Index | ||
− | ==GTA III== | + | This conditional opcode checks if the garage contains the needed vehicle. It only applies to certain [[Garage#Types of Garages|types of garages]]. When the needed car is brought to the garage, the garage door opens for it and will close after the player leaves the garage. The player is then rewarded $1,000 in GTA III or $500 in Vice City and the [[GXT]] string <code>GA_13</code> is displayed. When the all the needed vehicles are collected, the player is rewarded $200,000 in GTA III or $20,000 in Vice City and the GXT string <code>GA_14</code> is displayed. If the vehicle brought is not needed, the GXT string <code>GA_19</code> is displayed and the garage will not open. If the garage already contains the needed vehicle, the GXT string <code>GA_20</code> is displayed and the garage also will not open. |
+ | |||
+ | == GTA III == | ||
{| {{prettytable}} | {| {{prettytable}} | ||
! colspan="2"| Type 8 Garage | ! colspan="2"| Type 8 Garage | ||
|- | |- | ||
− | ! | + | ! Index |
! Vehicle | ! Vehicle | ||
|- | |- | ||
Line 65: | Line 70: | ||
! colspan="2"| Type 9 Garage | ! colspan="2"| Type 9 Garage | ||
|- | |- | ||
− | ! | + | ! Index |
! Vehicle | ! Vehicle | ||
|- | |- | ||
Line 99: | Line 104: | ||
|- | |- | ||
| 11 | | 11 | ||
− | | Manana | + | | Manana/Corpse Manana |
|- | |- | ||
| 12 | | 12 | ||
Line 117: | Line 122: | ||
|} | |} | ||
− | ==Vice City== | + | == Vice City == |
{| {{prettytable}} | {| {{prettytable}} | ||
! colspan="2"| Type 8 Garage | ! colspan="2"| Type 8 Garage | ||
|- | |- | ||
− | ! | + | ! Index |
! Vehicle | ! Vehicle | ||
|- | |- | ||
Line 144: | Line 149: | ||
! colspan="2"| Type 9 Garage | ! colspan="2"| Type 9 Garage | ||
|- | |- | ||
− | ! | + | ! Index |
! Vehicle | ! Vehicle | ||
|- | |- | ||
Line 167: | Line 172: | ||
! colspan="2"| Type 10 Garage | ! colspan="2"| Type 10 Garage | ||
|- | |- | ||
− | ! | + | ! Index |
! Vehicle | ! Vehicle | ||
|- | |- | ||
Line 190: | Line 195: | ||
! colspan="2"| Type 22 Garage | ! colspan="2"| Type 22 Garage | ||
|- | |- | ||
− | ! | + | ! Index |
! Vehicle | ! Vehicle | ||
|- | |- | ||
Line 211: | Line 216: | ||
| Pizza Boy | | Pizza Boy | ||
|} | |} | ||
+ | |||
+ | == Keywords== | ||
+ | check, import, export, garage | ||
+ | |||
+ | [[Category:OpCodes]] |
Revision as of 06:25, 28 December 2011
Description
- Checks if the garage contains the needed vehicle
Syntax
- 03D4: garage [garage handle] contains_neededcar [int]
Parameter
- [garage handle]
- [int]
- Index
This conditional opcode checks if the garage contains the needed vehicle. It only applies to certain types of garages. When the needed car is brought to the garage, the garage door opens for it and will close after the player leaves the garage. The player is then rewarded $1,000 in GTA III or $500 in Vice City and the GXT string GA_13
is displayed. When the all the needed vehicles are collected, the player is rewarded $200,000 in GTA III or $20,000 in Vice City and the GXT string GA_14
is displayed. If the vehicle brought is not needed, the GXT string GA_19
is displayed and the garage will not open. If the garage already contains the needed vehicle, the GXT string GA_20
is displayed and the garage also will not open.
GTA III
Type 8 Garage | |
---|---|
Index | Vehicle |
1 | Securicar |
2 | Moonbeam |
3 | Coach |
4 | Flatbed |
5 | Linerunner |
6 | Trashmaster |
7 | Patriot |
8 | Mr Whoopee |
9 | Blista |
10 | Mule |
11 | Yankee |
12 | Bobcat |
13 | Dodo |
14 | Bus |
15 | Rumpo |
16 | Pony |
Type 9 Garage | |
Index | Vehicle |
1 | Sentinel |
2 | Cheetah |
3 | Banshee |
4 | Idaho |
5 | Infernus |
6 | Taxi |
7 | Kuruma |
8 | Stretch |
9 | Perennial |
10 | Stinger |
11 | Manana/Corpse Manana |
12 | Landstalker |
13 | Stallion |
14 | BF Injection |
15 | Cabbie |
16 | Esperanto |
Vice City
Type 8 Garage | |
---|---|
Index | Vehicle |
1 | Landstalker |
2 | Idaho |
3 | Esperanto |
4 | Stallion |
5 | Rancher |
6 | Blista Compact |
Type 9 Garage | |
Index | Vehicle |
1 | Sabre |
2 | Virgo |
3 | Sentinel |
4 | Stretch |
5 | Washington |
6 | Admiral |
Type 10 Garage | |
Index | Vehicle |
1 | Cheetah/VCPD Cheetah |
2 | Infernus |
3 | Banshee |
4 | Phoenix |
5 | Comet |
6 | Stinger |
Type 22 Garage | |
Index | Vehicle |
1 | Voodoo |
2 | Cuban Hermes |
3 | Caddy |
4 | Baggage (Handler) |
5 | Mr Whoopee |
6 | Pizza Boy |
Keywords
check, import, export, garage