03A0

From GTAMods Wiki
Revision as of 04:01, 6 July 2015 by Spaceeinstein (talk | contribs) (Created page with "{{Icon|3}} '''IS_CRANE_LIFTING_CAR''' <hr /> '''Description''' : Checks if a crane is lifting the specified vehicle '''Syntax''' : 03A0:   car [''car handle''] picked...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

GTA III IS_CRANE_LIFTING_CAR


Description

Checks if a crane is lifting the specified vehicle

Syntax

03A0:   car [car handle] picked_up_by_crane [flt1] [flt2]

Parameter

[car handle]
The handle of the vehicle
[flt1]
X-coordinate of location of crane
[flt2]
Y-coordinate of location of crane

This opcode returns true if a crane at the location is lifting the specified vehicle. Somewhat misleadingly, state 3 (moving upwards from pick up) of the crane is ignored; only states 2 (moving to destination) and 4 (moving downwards to drop off) are detected.

Keywords

crane, lift, car, vehicle, picked, up