GTAG - Modding - Opcode Database - 02BF
Opcode Database
02BF
| Description | Returns true if the vehicle is submerged in water. |
|---|---|
| Parameters (v2) | 1) Vehicle handle (Integer) (INT) |
| Games | |
| Category | Common, Conditional, Vehicle |
| Command Name (IV) | IS_CAR_IN_WATER |
| San Andreas | |
| sascm.ini | 02BF=1, is_car_in_water %1d% |
| Example | 02BF: is_car_in_water 51@ |
| Command Name | IS_CAR_IN_WATER |
| Vice City | |
| sascm.ini | 02bf=1, car %1d% sunk |
| Example | 02BF: car $789 sunk |
| Command Name | IS_CAR_IN_WATER |
| GTA III | |
| gtascm.ini | 02bf=1, car %1d% sunk |
| Example | 02BF: car $735 sunk |
| Command Name | IS_CAR_IN_WATER |

