GTAG - Modding - Opcode Database - 0224
Opcode Database
0224
| Description | Sets the health of the vehicle to the specified value. |
|---|---|
| Parameters (v2) | 1) Vehicle handle (Integer) (INT) 2) Integer (INT) |
| Games | |
| Category | Common, Vehicle |
| Command Name (IV) | SET_CAR_HEALTH |
| San Andreas | |
| sascm.ini | 0224=2,set_car_health %1d% to %2d% |
| Example | 0224: set_car_health 34@ to 1000 |
| Command Name | SET_CAR_HEALTH |
| Vice City | |
| sascm.ini | 0224=2,set_car %1d% health_to %2d% |
| Example | 0224: set_car $26 health_to 2000 |
| Command Name | SET_CAR_HEALTH |
| GTA III | |
| gtascm.ini | 0224=2,set_car %1d% health_to %2d% |
| Example | 0224: set_car $PARAMEDIC_MISION_CAR health_to $PARAMEDIC_CAR_HEALTH |
| Command Name | SET_CAR_HEALTH |

