GTAG - Modding - Opcode Database - 0185
Opcode Database
0185
| Description | Returns true if the specified cars health is above the specified value. |
|---|---|
| Parameters (v2) | 1) Vehicle handle (Integer) (INT) 2) Integer (INT) |
| Games | |
| Category | Common, Conditional, Vehicle |
| Command Name (IV) | IS_CAR_HEALTH_GREATER |
| San Andreas | |
| sascm.ini | 0185=2, is_car_health_greater %1d% than %2d% |
| Example | 0185: is_car_health_greater 73@ than 700 |
| Command Name | IS_CAR_HEALTH_GREATER |
| Vice City | |
| sascm.ini | 0185=2, car %1d% health >= %2d% |
| Example | 0185: car $2816 health >= 269 |
| Command Name | IS_CAR_HEALTH_GREATER |
| GTA III | |
| gtascm.ini | 0185=2, car %1d% health >= %2d% |
| Example | 0185: car $TAXI_MISSION_CAR health >= 500 |
| Command Name | IS_CAR_HEALTH_GREATER |

