GTAG - Modding - Opcode Database - 0227
Opcode Database
0227
| Description | Stores the vehicles health in a variable. |
|---|---|
| Parameters (v2) | 1) Vehicle handle (Integer) (INT) 2) (Returned) Float (FLOAT) |
| Games | |
| Category | Common, Vehicle |
| Command Name (IV) | GET_CAR_HEALTH |
| San Andreas | |
| sascm.ini | 0227=2,get_car_health %1d% store_to %2d% |
| Example | 0227: get_car_health 22@ store_to 4@ |
| Command Name | GET_CAR_HEALTH |
| Vice City | |
| sascm.ini | 0227=2,%2d% = car %1d% health |
| Example | 0227: $2639 = car $2467 health |
| Command Name | GET_CAR_HEALTH |
| GTA III | |
| gtascm.ini | 0227=2,%2d% = car %1d% health |
| Example | 0227: $1283 = car $PARAMEDIC_MISION_CAR health |
| Command Name | GET_CAR_HEALTH |

