GTAG - Modding - Opcode Database - 0223
Opcode Database
0223
| Description | Sets the health of the character to the specified value. |
|---|---|
| Parameters (v2) | 1) Actor handle (Integer) (INT) 2) Integer (INT) |
| Games | |
| Category | Actor, Common |
| Command Name (IV) | SET_CHAR_HEALTH |
| San Andreas | |
| sascm.ini | 0223=2,set_char_health %1d% to %2d% |
| Example | 0223: set_char_health 2@ to 500 |
| Command Name | SET_CHAR_HEALTH |
| Vice City | |
| sascm.ini | 0223=2,set_actor %1d% health_to %2d% |
| Example | 0223: set_actor $723 health_to 250 |
| Command Name | SET_CHAR_HEALTH |
| GTA III | |
| gtascm.ini | 0223=2,set_actor %1d% health_to %2d% |
| Example | 0223: set_actor $RAY2_PHIL health_to 5 |
| Command Name | SET_CHAR_HEALTH |

