Difference between revisions of "03D4"

From GTAMods Wiki
Jump to navigation Jump to search
m (Vice City: either works)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{OpCode
 
{{OpCode
| ini        = 03D4=2,  %1d% %2d%
+
| games      = {{Icon|3}} {{Icon|VC}}
| description = Checks if the [[garage]] contains the needed vehicle
+
| command    = HAS_IMPORT_GARAGE_SLOT_BEEN_FILLED
| p1          = [[Garage#List of Garages|Garage ID]]
+
| description = Checks if the [[garage]] contains the needed vehicle model
| p2          = Integer value
+
| syntax1    = 03D4:   garage [''garage handle''] contains_neededcar [''int'']
| game        = [[GTA 3]], [[Vice City]]
+
| p1t        = [''garage handle'']
 +
| p1d        = The [[Garage#List of Garages|handle of the garage]]
 +
| p2t        = [''int'']
 +
| p2d        = Index (see below)
 
}}
 
}}
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 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 won't open. If the garage already contains the needed vehicle, the GXT string GA_20 is displayed and the garage also won't open.
 
  
==GTA III==
+
This conditional opcode returns true if the [[Garage#Types of Garages|import garage]] contains the needed vehicle model. When the needed model is brought to the garage of a certain type, 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 a [[Text#Garage message|message]] with [[GXT]] key <code>GA_13</code> ("Delivered like a pro. Complete the list and there'll be a bonus for you.") is displayed. When all the needed models are collected, the player is rewarded $200,000 in GTA III or $20,000 in Vice City and a message with GXT key <code>GA_14</code> ("All the cars. NICE! Here's a little something.") is displayed. If the model brought is not needed, a message with GXT key <code>GA_19</code> ("We're not interested in that model.") is displayed and the garage will not open. If the garage already contains the needed model, a message with GXT key <code>GA_20</code> ("We got more of these than we can shift. Sorry man, no deal.") is displayed and the garage also will not open.
{| {{prettytable}}
+
 
! colspan="2"| Type 8 Garage
+
== GTA III ==
 +
{|class="wikitable"
 +
!colspan="2"|Type 8 Garage
 
|-
 
|-
! Value
+
!Index
! Vehicle
+
!Vehicle
 
|-
 
|-
| 1
+
|1
| Securicar
+
|Securicar
 
|-
 
|-
| 2
+
|2
| Moonbeam
+
|Moonbeam
 
|-
 
|-
| 3
+
|3
| Coach
+
|Coach
 
|-
 
|-
| 4
+
|4
| Flatbed
+
|Flatbed
 
|-
 
|-
| 5
+
|5
| Linerunner
+
|Linerunner
 
|-
 
|-
| 6
+
|6
| Trashmaster
+
|Trashmaster
 
|-
 
|-
| 7
+
|7
| Patriot
+
|Patriot
 
|-
 
|-
| 8
+
|8
| Mr Whoopee
+
|Mr Whoopee
 
|-
 
|-
| 9
+
|9
| Blista
+
|Blista
 
|-
 
|-
| 10
+
|10
| Mule
+
|Mule
 
|-
 
|-
| 11
+
|11
| Yankee
+
|Yankee
 
|-
 
|-
| 12
+
|12
| Bobcat
+
|Bobcat
 
|-
 
|-
| 13
+
|13
| Dodo
+
|Dodo
 
|-
 
|-
| 14
+
|14
| Bus
+
|Bus
 
|-
 
|-
| 15
+
|15
| Rumpo
+
|Rumpo
 
|-
 
|-
| 16
+
|16
| Pony
+
|Pony
 
|-
 
|-
! colspan="2"| Type 9 Garage
+
!colspan="2"|Type 9 Garage
 
|-
 
|-
! Value
+
!Index
! Vehicle
+
!Vehicle
 
|-
 
|-
| 1
+
|1
| Sentinel
+
|Sentinel
 
|-
 
|-
| 2
+
|2
| Cheetah
+
|Cheetah
 
|-
 
|-
| 3
+
|3
| Banshee
+
|Banshee
 
|-
 
|-
| 4
+
|4
| Idaho
+
|Idaho
 
|-
 
|-
| 5
+
|5
| Infernus
+
|Infernus
 
|-
 
|-
| 6
+
|6
| Taxi
+
|Taxi
 
|-
 
|-
| 7
+
|7
| Kuruma
+
|Kuruma
 
|-
 
|-
| 8
+
|8
| Stretch
+
|Stretch
 
|-
 
|-
| 9
+
|9
| Perennial
+
|Perennial
 
|-
 
|-
| 10
+
|10
| Stinger
+
|Stinger
 
|-
 
|-
| 11
+
|11
| Manana
+
|Manana/Corpse Manana
 
|-
 
|-
| 12
+
|12
| Landstalker
+
|Landstalker
 
|-
 
|-
| 13
+
|13
| Stallion
+
|Stallion
 
|-
 
|-
| 14
+
|14
| BF Injection
+
|BF Injection
 
|-
 
|-
| 15
+
|15
| Cabbie
+
|Cabbie
 
|-
 
|-
| 16
+
|16
| Esperanto
+
|Esperanto
 
|}
 
|}
  
==Vice City==
+
== Vice City ==
{| {{prettytable}}
+
{|class="wikitable"
! colspan="2"| Type 8 Garage
+
!colspan="2"|Type 8 Garage
 
|-
 
|-
! Value
+
!Index
! Vehicle
+
!Vehicle
 
|-
 
|-
| 1
+
|1
| Landstalker
+
|Landstalker
 
|-
 
|-
| 2
+
|2
| Idaho
+
|Idaho
 
|-
 
|-
| 3
+
|3
| Esperanto
+
|Esperanto
 
|-
 
|-
| 4
+
|4
| Stallion
+
|Stallion
 
|-
 
|-
| 5
+
|5
| Rancher
+
|Rancher
 
|-
 
|-
| 6
+
|6
| Blista Compact
+
|Blista Compact
 
|-
 
|-
! colspan="2"| Type 9 Garage
+
!colspan="2"|Type 9 Garage
 
|-
 
|-
! Value
+
!Index
! Vehicle
+
!Vehicle
 
|-
 
|-
| 1
+
|1
| Sabre
+
|Sabre
 
|-
 
|-
| 2
+
|2
| Virgo
+
|Virgo
 
|-
 
|-
| 3
+
|3
| Sentinel
+
|Sentinel
 
|-
 
|-
| 4
+
|4
| Stretch
+
|Stretch
 
|-
 
|-
| 5
+
|5
| Washington
+
|Washington
 
|-
 
|-
| 6
+
|6
| Admiral
+
|Admiral
 
|-
 
|-
! colspan="2"| Type 10 Garage
+
!colspan="2"|Type 10 Garage
 
|-
 
|-
! Value
+
!Index
! Vehicle
+
!Vehicle
 
|-
 
|-
| 1
+
|1
| Cheetah/VCPD Cheetah
+
|Cheetah/VCPD Cheetah
 
|-
 
|-
| 2
+
|2
| Infernus
+
|Infernus
 
|-
 
|-
| 3
+
|3
| Banshee
+
|Banshee
 
|-
 
|-
| 4
+
|4
| Phoenix
+
|Phoenix
 
|-
 
|-
| 5
+
|5
| Comet
+
|Comet
 
|-
 
|-
| 6
+
|6
| Stinger
+
|Stinger
 
|-
 
|-
! colspan="2"| Type 22 Garage
+
!colspan="2"|Type 22 Garage
 
|-
 
|-
! Value
+
!Index
! Vehicle
+
!Vehicle
 
|-
 
|-
| 1
+
|1
| Voodoo
+
|Voodoo
 
|-
 
|-
| 2
+
|2
| Cuban Hermes
+
|Cuban Hermes
 
|-
 
|-
| 3
+
|3
| Caddy
+
|Caddy
 
|-
 
|-
| 4
+
|4
| Baggage (Handler)
+
|Baggage (Handler)
 
|-
 
|-
| 5
+
|5
| Mr Whoopee
+
|Mr Whoopee
 
|-
 
|-
| 6
+
|6
| Pizza Boy
+
|Pizza Boy
 
|}
 
|}
 +
 +
== Keywords==
 +
check, import, export, garage, slot, filled, contains, neededcar, car, vehicle

Latest revision as of 05:49, 1 March 2016

GTA III Vice City HAS_IMPORT_GARAGE_SLOT_BEEN_FILLED


Description
Checks if the garage contains the needed vehicle model
Syntax
03D4:   garage [garage handle] contains_neededcar [int]
Parameter
[garage handle]
The handle of the garage
[int]
Index (see below)

This conditional opcode returns true if the import garage contains the needed vehicle model. When the needed model is brought to the garage of a certain type, 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 a message with GXT key GA_13 ("Delivered like a pro. Complete the list and there'll be a bonus for you.") is displayed. When all the needed models are collected, the player is rewarded $200,000 in GTA III or $20,000 in Vice City and a message with GXT key GA_14 ("All the cars. NICE! Here's a little something.") is displayed. If the model brought is not needed, a message with GXT key GA_19 ("We're not interested in that model.") is displayed and the garage will not open. If the garage already contains the needed model, a message with GXT key GA_20 ("We got more of these than we can shift. Sorry man, no deal.") 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, slot, filled, contains, neededcar, car, vehicle