0368
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