Difference between revisions of "0368"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with "{{Icon|3}} '''ACTIVATE_MILITARY_CRANE''' <hr /> '''Description''' : Activates a military crane '''Syntax''' : 0368: create_ev_crane [''flt1''] [''flt2''] [''flt3''] [''flt...")
 
m
Line 27: Line 27:
 
:: [[Heading]] of drop off point in degrees
 
:: [[Heading]] of drop off point in degrees
  
This opcode grabs and activates a crane that accepts emergency vehicles for exporting. Fans generally call this crane the emergency vehicle crane (or EV crane) because the vehicles it accepts are all the emergency vehicles in the game. The crane behaves similarly to ones activated by opcode [[01EE]] with the following differences. When you deliver a car it does not accept at all, [[GXT]] string <code>GA_19</code> ("We're not interested in that model.") is displayed and the crane refuses the car. The following vehicles based on their [[IDE]] values are accepted by cranes activated with this opcode:
+
This opcode grabs and activates a crane that accepts emergency vehicles for exporting. Fans generally call this crane the emergency vehicle crane (or EV crane) because the vehicles it accepts are all the emergency vehicles in the game. The crane behaves similarly to ones activated by opcode [[01EE]] with the following differences. When you deliver a vehicle model it does not accept at all, [[GXT]] string <code>GA_19</code> ("We're not interested in that model.") is displayed and the crane refuses the vehicle. The following vehicle models based on their [[IDE]] values are accepted by cranes activated with this opcode:
 
* 97 (Firetruck)
 
* 97 (Firetruck)
 
* 106 (Ambulance)
 
* 106 (Ambulance)
Line 35: Line 35:
 
* 122 (Rhino)
 
* 122 (Rhino)
 
* 123 (Barrack OL)
 
* 123 (Barrack OL)
When the crane drops off the vehicle, the vehicle disappears immediately and you are rewarded $1,500. GXT string <code>GA_10</code> ("Nice one. Here's your $1500") is displayed. The crane accepts the vehicles of the same model only once. If you attempt to deliver it again, GXT string <code>GA_20</code> ("We got more of these than we can shift. Sorry man, no deal.") is displayed and the crane refuses the vehicle. This refusal applies globally if you have more than one military cranes. Opcode [[03EC]] can be used to check if all vehicles have been collected by the crane.
+
When the crane drops off the vehicle, the vehicle disappears immediately, you are rewarded $1,500, and GXT string <code>GA_10</code> ("Nice one. Here's your $1500") is displayed. The crane accepts vehicles of the same model only once. If you attempt to deliver it again, GXT string <code>GA_20</code> ("We got more of these than we can shift. Sorry man, no deal.") is displayed and the crane refuses the vehicle. This refusal applies globally if you have more than one military cranes. Opcode [[03EC]] can be used to check if all vehicles have been collected by the crane.
  
 
== Keywords ==
 
== Keywords ==

Revision as of 01:42, 6 July 2015

GTA III ACTIVATE_MILITARY_CRANE


Description

Activates a military crane

Syntax

0368: create_ev_crane [flt1] [flt2] [flt3] [flt4] [flt5] [flt6] [flt7] [flt8] [flt9] [flt10]

Parameter

[flt1]
X-coordinate of location of crane
[flt2]
Y-coordinate of location of crane
[flt3]
X-coordinate of one corner of pickup zone
[flt4]
Y-coordinate of one corner of pickup zone
[flt5]
X-coordinate of other corner of pickup zone
[flt6]
Y-coordinate of other corner of pickup zone
[flt7]
X-coordinate of drop off point
[flt8]
Y-coordinate of drop off point
[flt9]
Z-coordinate of drop off point
[flt10]
Heading of drop off point in degrees

This opcode grabs and activates a crane that accepts emergency vehicles for exporting. Fans generally call this crane the emergency vehicle crane (or EV crane) because the vehicles it accepts are all the emergency vehicles in the game. The crane behaves similarly to ones activated by opcode 01EE with the following differences. When you deliver a vehicle model it does not accept at all, GXT string GA_19 ("We're not interested in that model.") is displayed and the crane refuses the vehicle. The following vehicle models based on their IDE values are accepted by cranes activated with this opcode:

  • 97 (Firetruck)
  • 106 (Ambulance)
  • 107 (Fbi Car)
  • 116 (Police)
  • 117 (Enforcer)
  • 122 (Rhino)
  • 123 (Barrack OL)

When the crane drops off the vehicle, the vehicle disappears immediately, you are rewarded $1,500, and GXT string GA_10 ("Nice one. Here's your $1500") is displayed. The crane accepts vehicles of the same model only once. If you attempt to deliver it again, GXT string GA_20 ("We got more of these than we can shift. Sorry man, no deal.") is displayed and the crane refuses the vehicle. This refusal applies globally if you have more than one military cranes. Opcode 03EC can be used to check if all vehicles have been collected by the crane.

Keywords

activate, military, crane

See also

  • 01EE, activate crane
  • 02FB, activate crusher crane